Changeset 11618
- Timestamp:
- 2006-04-07T10:05:37+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/GatherPane.java
r11616 r11618 313 313 this.add(control_pane, BorderLayout.SOUTH); 314 314 } 315 /** This method ensures that a certain tree path is visible and selected within the collection tree, expanding nodes if necessary. If the method is successful the bounds of the new selection are returned. */316 public Rectangle expandPath(TreePath path) {317 collection_tree.setImmediate(true);318 collection_tree.scrollPathToVisible(path);319 collection_tree.setSelectionPath(path);320 collection_tree.setImmediate(false);321 return collection_tree.getRowBounds(collection_tree.getRowForPath(path));322 }323 315 324 316 … … 329 321 Gatherer.g_man.meta_audit.setRecords(getCollectionTreeSelection()); 330 322 } 323 331 324 332 325 /** Retrieve a list of the currently selected file records in the collection tree. */
Note:
See TracChangeset
for help on using the changeset viewer.