Changeset 18358 for gli/branches/rtl-gli/src/org/greenstone/gatherer/collection/CollectionTreeNode.java
- Timestamp:
- 2009-01-12T11:18:22+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/branches/rtl-gli/src/org/greenstone/gatherer/collection/CollectionTreeNode.java
r10011 r18358 33 33 import org.greenstone.gatherer.file.FileNode; 34 34 import org.greenstone.gatherer.util.JarTools; 35 import java.util.Set; 36 import java.util.Iterator; 37 import java.nio.charset.Charset; 35 38 36 39 … … 40 43 { 41 44 static final public ImageIcon GREEN_FILE_ICON = JarTools.getImage("greenfile.gif", true); 42 45 43 46 /** Is this file a metadata database that is explodable with the explode_metadata_databases.pl script? */ 44 47 private boolean is_explodable = false; 45 48 49 /** Keeps track of whether this file can be replaced with a Greenstone-generated html file. 50 * To work with replace_srcdoc_with_html.pl */ 51 private boolean is_srcreplaceable = false; 46 52 47 53 public CollectionTreeNode(File file) … … 50 56 51 57 this.is_explodable = CollectionDesignManager.plugin_manager.isFileExplodable(file); 58 // To work with replace_srcdoc_with_html.pl 59 this.is_srcreplaceable = CollectionDesignManager.plugin_manager.isFileSrcReplaceable(file); 60 52 61 } 53 62 … … 66 75 return is_explodable; 67 76 } 77 78 // To work with replace_srcdoc_with_html.pl 79 public boolean isSrcReplaceable() 80 { 81 return is_srcreplaceable; 82 } 68 83 }
Note:
See TracChangeset
for help on using the changeset viewer.