Changeset 4546
- Timestamp:
- 2003-06-11T10:24:51+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/CollectionPane.java
r4514 r4546 443 443 } 444 444 repaint(); 445 // Update the menubars idea of whats been selected446 if(collection_tree != null) {447 if(collection_tree.isSelectionEmpty()) {448 Gatherer.g_man.menu_bar.setMetaAuditSuffix(null);449 }450 else {451 Gatherer.g_man.menu_bar.setMetaAuditSuffix(collection_tree.getSelectionDetails());452 }453 }454 445 } 455 446 /** Implementation side-effect, not used in any way. … … 458 449 public void focusLost(FocusEvent event) { 459 450 } 451 452 /** Called to inform this control panel that it has just gained focus as an effect of the user clicking on its tab. 453 * @see org.greenstone.gatherer.tree.GTree 454 */ 455 public void gainFocus() { 456 // Update the menubar's idea of whats been selected 457 if (collection_tree != null) { 458 if (collection_tree.isSelectionEmpty()) { 459 Gatherer.g_man.menu_bar.setMetaAuditSuffix(null); 460 } 461 else { 462 Gatherer.g_man.menu_bar.setMetaAuditSuffix(collection_tree.getSelectionDetails()); 463 } 464 } 465 } 466 460 467 /** Retrieve a list of the currently selected file records in the active tree. */ 461 468 public FileNode[] getSelected() {
Note:
See TracChangeset
for help on using the changeset viewer.