- Timestamp:
- 2010-07-15T22:10:59+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/file/WorkspaceTreeNode.java
r19235 r22410 168 168 169 169 // One last piece of magic so we can determine the current collection 170 // I don't think this will work properly with groups, 171 // as it may give a false positive?? 172 collection_root.is_in_loaded_collection = cols[i].getName().equals(CollectionManager.getLoadedCollectionName()); 170 // Now made to work with collection groups 171 String groupQualifiedColName = cols[i].getName(); 172 if(is_group_node) { // then title would have stored the colgroup name 173 groupQualifiedColName = title + File.separator + cols[i].getName(); 174 } 175 collection_root.is_in_loaded_collection = groupQualifiedColName.equals(CollectionManager.getLoadedCollectionName()); 173 176 child_nodes.add(collection_root); 174 177 }
Note:
See TracChangeset
for help on using the changeset viewer.