Changeset 4587 for trunk/gli/src/org/greenstone/gatherer
- Timestamp:
- 2003-06-11T16:49:40+12:00 (21 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/CollectionPane.java
r4546 r4587 463 463 } 464 464 } 465 // Update the meta-audit view to show the current selection, if any. 466 Gatherer.g_man.meta_audit.setRecords(getSelected()); 465 467 } 466 468 -
trunk/gli/src/org/greenstone/gatherer/gui/MetaEditPane.java
r4544 r4587 654 654 } 655 655 } 656 // Update the meta-audit view to show the current selection, if any. 657 Gatherer.g_man.meta_audit.setRecords(records); 656 658 } 657 659 /** Used to determine if this class contains a reference to an existing file record that matches the presumtively new record, and if one is found, returns it. Note that there is no need to search the metadata table model, as any file record that exists there must also exist in the records selection. -
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/MetaAuditFrame.java
r4565 r4587 147 147 setVisible(true); 148 148 } 149 150 public void setRecords(FileNode[] records) { 151 this.records = records; 152 if(isVisible()) { 153 rebuildModel(); 154 } 155 else { 156 invalid = true; 157 } 158 } 159 149 160 /** This method is called whenever the selection within the collection tree changes. This causes the table to be rebuilt with a new model. 150 161 * @param event A <strong>TreeSelectionEvent</strong> containing information about the event.
Note:
See TracChangeset
for help on using the changeset viewer.