- Timestamp:
- 2006-04-07T17:05:48+12:00 (18 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r11626 r11628 112 112 this.size = size; 113 113 this.collection_tree_sync = new TreeSynchronizer(); 114 this.meta_audit = new MetaAuditFrame(collection_tree_sync, null);115 114 116 115 this.setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); … … 375 374 tab_pane.setEnabledAt(tab_pane.indexOfComponent(create_pane), false); 376 375 } 376 377 // The MetaAuditFrame must be created after the gather/enrich panes but before they get focus 378 meta_audit = new MetaAuditFrame(); 377 379 378 380 // Select the collect pane if it is available -
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/MetaAuditFrame.java
r8783 r11628 90 90 private boolean invalid = true; 91 91 /** An array holding the most recent list of paths selected (plus some nulls for those paths removed). */ 92 private CollectionTreeNode records[];92 private CollectionTreeNode[] records = null; 93 93 /** A reference to ourselves so that inner classes can interact with us. */ 94 94 private MetaAuditFrame self; … … 98 98 static final private Dimension SIZE = new Dimension(640,505); 99 99 100 /** Constructor.*/ 101 public MetaAuditFrame(TreeSynchronizer tree_sync, CollectionTreeNode records[]) { 100 101 public MetaAuditFrame() 102 { 102 103 super(Gatherer.g_man); 103 104 104 105 // Arguments 105 106 this.autofilter_dialog = new AutofilterDialog(this); 106 this.records = records;107 107 this.self = this; 108 108 this.table = new MetaAuditTable(this); … … 122 122 // Connection 123 123 close_button.addActionListener(new CloseListener()); 124 tree_sync.addTreeSelectionListener(this);124 Gatherer.c_man.getCollectionTree().addTreeSelectionListener(this); 125 125 126 126 // Layout
Note:
See TracChangeset
for help on using the changeset viewer.