- Timestamp:
- 2004-12-17T16:50:46+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/CollectionTreeNode.java
r8783 r8853 29 29 30 30 import java.io.*; 31 import javax.swing.*; 32 import org.greenstone.gatherer.cdm.CollectionDesignManager; 31 33 import org.greenstone.gatherer.file.FileNode; 34 import org.greenstone.gatherer.util.Utility; 32 35 33 36 … … 36 39 extends FileNode 37 40 { 41 static final public ImageIcon GREEN_FILE = Utility.getImage("greenfile.gif", true); 42 43 /** Is this file a metadata database that is explodable with the explode_metadata_databases.pl script? */ 44 private boolean is_explodable = false; 45 46 38 47 public CollectionTreeNode(File file) 39 48 { 40 49 super(file); 50 51 this.is_explodable = CollectionDesignManager.plugin_manager.isFileExplodable(file); 41 52 } 42 53 … … 49 60 return child_node; 50 61 } 62 63 64 public boolean isExplodable() 65 { 66 return is_explodable; 67 } 51 68 }
Note:
See TracChangeset
for help on using the changeset viewer.