Ignore:
Timestamp:
2006-04-07T17:12:28+12:00 (18 years ago)
Author:
mdewsnip
Message:

Kissed the horrible TreeSynchronizer goodbye.

File:
1 edited

Legend:

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

    r11627 r11629  
    5050import org.greenstone.gatherer.metadata.MetadataXMLFileManager;
    5151import org.greenstone.gatherer.util.DragGroup;
    52 import org.greenstone.gatherer.util.TreeSynchronizer;
    5352
    5453
     
    8079    /** The metadata value tree shows the metadata values that are currently assigned to a metadata element. */
    8180    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    {
    9385    // Create the metadata value tree pane
    9486    metadata_value_tree_pane = new MetadataValueTreePane();
     
    247239    collection_filter.setEnabled(collection_loaded);
    248240
    249     // Ensure that this collection tree view is synchronized with all others
    250     collection_tree_sync.add(collection_tree);
    251 
    252241    // Force the metadata table to be rebuilt (for switching extracted metadata on or off)
    253242    if (refresh_reason == Gatherer.PREFERENCES_CHANGED) {
Note: See TracChangeset for help on using the changeset viewer.