- Timestamp:
- 2006-04-07T17:12:28+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/EnrichPane.java
r11627 r11629 50 50 import org.greenstone.gatherer.metadata.MetadataXMLFileManager; 51 51 import org.greenstone.gatherer.util.DragGroup; 52 import org.greenstone.gatherer.util.TreeSynchronizer;53 52 54 53 … … 80 79 /** The metadata value tree shows the metadata values that are currently assigned to a metadata element. */ 81 80 private MetadataValueTreePane metadata_value_tree_pane = null; 82 /** Provide synchronization between the collection trees in this view and the collection pane view. */ 83 private TreeSynchronizer collection_tree_sync = null; 84 85 86 /** Constructor. 87 * @param tree_sync The <strong>TreeSynchronizer</strong> to be used on the collection tree 88 */ 89 public EnrichPane(TreeSynchronizer collection_tree_sync) 90 { 91 this.collection_tree_sync = collection_tree_sync; 92 81 82 83 public EnrichPane() 84 { 93 85 // Create the metadata value tree pane 94 86 metadata_value_tree_pane = new MetadataValueTreePane(); … … 247 239 collection_filter.setEnabled(collection_loaded); 248 240 249 // Ensure that this collection tree view is synchronized with all others250 collection_tree_sync.add(collection_tree);251 252 241 // Force the metadata table to be rebuilt (for switching extracted metadata on or off) 253 242 if (refresh_reason == Gatherer.PREFERENCES_CHANGED) {
Note:
See TracChangeset
for help on using the changeset viewer.