- Timestamp:
- 2004-05-27T17:12:03+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r7326 r7482 91 91 public MirrorPane mirror_pane = null; 92 92 /** The gather pane is more like a file manager where you drag files from one tree to another. */ 93 p ublicGatherPane gather_pane = null;93 private GatherPane gather_pane = null; 94 94 /** The enrich pane is used to assign, edit and remove metadata from files within the collection. */ 95 95 public EnrichPane enrich_pane = null; … … 619 619 } 620 620 621 public void refreshTrees(int refresh_reason) 621 622 public void refreshCollectionTree(int refresh_reason) 623 { 624 if (gather_pane != null) { 625 gather_pane.refreshCollectionTree(refresh_reason); 626 } 627 } 628 629 630 public void refreshWorkspaceTree(int refresh_reason) 622 631 { 623 632 if (gather_pane != null) { 624 633 gather_pane.refreshWorkspaceTree(refresh_reason); 625 gather_pane.refreshCollectionTree(refresh_reason); 626 } 627 } 628 629 /** Allows the system to programatically set the selected tab. 630 * @param component The view you wish to make visable in the tab pane as a <strong>Component</strong>. 631 */ 632 public void setSelectedView(Component component) { 633 tab_pane.setSelectedComponent(component); 634 } 634 } 635 } 636 637 638 /** Returns to some "initial" pane (when no collection is loaded) */ 639 public void returnToInitialPane() 640 { 641 if (gather_pane != null) { 642 tab_pane.setSelectedComponent(gather_pane); 643 } 644 } 645 635 646 636 647 /** Specifies whether a certain tab is enabled or not. */
Note:
See TracChangeset
for help on using the changeset viewer.