Changeset 15106
- Timestamp:
- 2008-03-20T20:12:43+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/collection/CollectionTreeNode.java
r10011 r15106 40 40 { 41 41 static final public ImageIcon GREEN_FILE_ICON = JarTools.getImage("greenfile.gif", true); 42 42 43 43 /** Is this file a metadata database that is explodable with the explode_metadata_databases.pl script? */ 44 44 private boolean is_explodable = false; 45 45 46 /** Keeps track of whether this file can be replaced with a Greenstone-generated html file. 47 * To work with replace_srcdoc_with_html.pl */ 48 private boolean is_srcreplaceable = false; 46 49 47 50 public CollectionTreeNode(File file) … … 50 53 51 54 this.is_explodable = CollectionDesignManager.plugin_manager.isFileExplodable(file); 55 // To work with replace_srcdoc_with_html.pl 56 this.is_srcreplaceable = CollectionDesignManager.plugin_manager.isFileSrcReplaceable(file); 52 57 } 53 58 … … 66 71 return is_explodable; 67 72 } 73 74 // To work with replace_srcdoc_with_html.pl 75 public boolean isSrcReplaceable() 76 { 77 return is_srcreplaceable; 78 } 68 79 }
Note:
See TracChangeset
for help on using the changeset viewer.