Changeset 4616
- Timestamp:
- 2003-06-12T17:19:37+12:00 (21 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/CollectionPane.java
r4609 r4616 267 267 268 268 workspace = Gatherer.c_man.getWorkspace(); 269 workspace_tree = new DragTree(Utility.WORKSPACE_TREE, workspace, null );269 workspace_tree = new DragTree(Utility.WORKSPACE_TREE, workspace, null, true); 270 270 group.add(workspace_tree); 271 271 workspace_tree.addFocusListener(this); … … 307 307 collection = Gatherer.c_man.getRecordSet(); 308 308 if(collection != null) { 309 collection_tree = new DragTree(Utility.COLLECTION_TREE, collection, null );309 collection_tree = new DragTree(Utility.COLLECTION_TREE, collection, null, true); 310 310 collection_tree.setEnabled(true); 311 311 } 312 312 else { 313 collection_tree = new DragTree(Utility.COLLECTION_TREE, null );313 collection_tree = new DragTree(Utility.COLLECTION_TREE, null, true); 314 314 collection_tree.setEnabled(false); 315 315 } -
trunk/gli/src/org/greenstone/gatherer/gui/MetaEditPane.java
r4606 r4616 381 381 TreeModel collection_model = Gatherer.c_man.getRecordSet(); 382 382 if(collection_model != null) { 383 collection_tree = new DragTree("MetaEdit", collection_model, null );383 collection_tree = new DragTree("MetaEdit", collection_model, null, false); 384 384 collection_model.addTreeModelListener(this); 385 385 } 386 386 else { 387 collection_tree = new DragTree("MetaEdit", null );387 collection_tree = new DragTree("MetaEdit", null, false); 388 388 } 389 389 group.add(collection_tree); -
trunk/gli/src/org/greenstone/gatherer/gui/MirrorPane.java
r4367 r4616 183 183 //Gatherer.println("\tCreating public tree"); 184 184 model = (FileSystemModel) Gatherer.c_man.getWorkspace(); 185 workspace_tree = new DragTree("Workspace_Mirror", model, null );185 workspace_tree = new DragTree("Workspace_Mirror", model, null, true); 186 186 workspace_tree.getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION); 187 187 workspace_tree.putClientProperty("JTree.lineStyle", "Angled");
Note:
See TracChangeset
for help on using the changeset viewer.