Changeset 11761


Ignore:
Timestamp:
2006-05-03T11:40:41+12:00 (18 years ago)
Author:
mdewsnip
Message:

Fixed the bug I added with the collection tree merging where you couldn't drag files into the collection...

File:
1 edited

Legend:

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

    r11629 r11761  
    4949import org.greenstone.gatherer.metadata.MetadataValueTreeNode;
    5050import org.greenstone.gatherer.metadata.MetadataXMLFileManager;
    51 import org.greenstone.gatherer.util.DragGroup;
    5251
    5352
     
    111110    public void display()
    112111    {
    113     // Creation
     112    // Collection Tree
    114113    collection_pane = new JPanel(new BorderLayout());
    115114    collection_pane.setMinimumSize(MINIMUM_SIZE);
    116115    collection_pane.setPreferredSize(COLLECTION_TREE_SIZE);
    117116
    118     external_split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
    119 
    120117    collection_label = new JLabel();
    121118    Dictionary.registerText(collection_label, "Collection.No_Collection");
    122119    collection_label.setOpaque(true);
    123120
    124     DragGroup group = new DragGroup();
    125121    collection_tree = Gatherer.c_man.getCollectionTree();
    126     group.add(collection_tree);
    127122    collection_tree.getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
    128123    collection_tree.addTreeSelectionListener(this);
    129124    collection_filter = collection_tree.getFilter();
     125
     126    external_split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
    130127
    131128    // Layout
Note: See TracChangeset for help on using the changeset viewer.