- Timestamp:
- 2007-01-12T15:36:27+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/WorkspaceTreeNode.java
r11625 r13595 35 35 import org.greenstone.gatherer.Gatherer; 36 36 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; // !!! Don't like this here 37 import org.greenstone.gatherer.collection.Collection ; // !!! Don't like this here37 import org.greenstone.gatherer.collection.CollectionManager; // !!! Don't like this here 38 38 import org.greenstone.gatherer.util.ArrayTools; 39 39 import org.greenstone.gatherer.util.StaticStrings; … … 153 153 154 154 // One last piece of magic so we can determine the current collection 155 Collection collection = Gatherer.c_man.getCollection(); 156 if (collection != null) { 157 collection_root.is_in_loaded_collection = cols[i].getName().equals(collection.getName()); 158 } 155 collection_root.is_in_loaded_collection = cols[i].getName().equals(CollectionManager.getLoadedCollectionName()); 159 156 child_nodes.add(collection_root); 160 157 }
Note:
See TracChangeset
for help on using the changeset viewer.