Changeset 4561 for trunk


Ignore:
Timestamp:
2003-06-11T13:48:03+12:00 (21 years ago)
Author:
jmt12
Message:

Was needlessly clearing the TreeSynchronizer listeners. It used to be necessary when I changed trees, but now the trees are persistant and only the tree models change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r4514 r4561  
    143143    this.size = size;
    144144    this.collection_tree_sync = new TreeSynchronizer();
     145    this.meta_audit = new MetaAuditFrame(collection_tree_sync, null);
    145146    this.workspace_tree_sync = new TreeSynchronizer();
    146147    // Make the Tool tip hang around for a rediculous amount of time.
     
    356357      */
    357358    public void collectionChanged(final boolean ready) {
    358     collection_tree_sync.clear(); // Clear any mappings in the tree synchronizers as being old news.
    359     workspace_tree_sync.clear();
    360359    if(Gatherer.config.get("workflow.mirror", true)) {
    361360        mirror_pane.collectionChanged(ready);
     
    631630      */
    632631    public void showMetaAuditBox() {
    633     if(meta_audit == null) {
    634         FileNode records[] = metaedit_pane.getSelectedNode();
    635         if(records == null) {
    636         records = collection_pane.getSelected();
    637         }
    638         if(records != null) {
    639         wait(true);
    640         meta_audit = new MetaAuditFrame(collection_tree_sync, records);
    641         }
    642     }
    643     if(meta_audit != null) {
    644         wait(true);
    645         meta_audit.display();
    646     }
     632    wait(true);
     633    meta_audit.display();
    647634    wait(false);
    648635    }
Note: See TracChangeset for help on using the changeset viewer.