Changeset 4305


Ignore:
Timestamp:
2003-05-23T16:15:01+12:00 (21 years ago)
Author:
jmt12
Message:

hide gimport folder

File:
1 edited

Legend:

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

    r4293 r4305  
    211211                collection_tree.setModel(collection);
    212212                collection_tree.repaint();
    213                 collection_tree.setRootVisible(true);
    214213                collection_filter.setBackground(Gatherer.config.getColor("coloring.collection_heading_background", false));
    215214          }
     
    220219                args = null;
    221220                collection_tree.setModel(new DefaultTreeModel(new DefaultMutableTreeNode("Error")));
    222                 collection_tree.setRootVisible(false);
    223221                collection_filter.setBackground(Color.lightGray);
    224222          }
     
    260258
    261259          workspace = Gatherer.c_man.getWorkspace();
    262           workspace_tree = new DragTree("Workspace", workspace, null);
     260          workspace_tree = new DragTree(Utility.WORKSPACE_TREE, workspace, null);
    263261          group.add(workspace_tree);
    264262          workspace_tree.addFocusListener(this);
     
    300298          collection = Gatherer.c_man.getRecordSet();
    301299          if(collection != null) {
    302                 collection_tree = new DragTree("Collection", collection, null);
     300                collection_tree = new DragTree(Utility.COLLECTION_TREE, collection, null);
    303301                collection_tree.setEnabled(true);
    304                 collection_tree.setRootVisible(true);
    305302          }
    306303          else {
    307                 collection_tree = new DragTree("Collection", null);
     304                collection_tree = new DragTree(Utility.COLLECTION_TREE, null);
    308305                collection_tree.setEnabled(false);
    309                 collection_tree.setRootVisible(false);
    310306          }
    311307          group.add(collection_tree);
     
    321317          collection_tree.setBackgroundSelectionColor(Gatherer.config.getColor("coloring.collection_selection_background", false));
    322318          collection_tree.setTextSelectionColor(Gatherer.config.getColor("coloring.collection_selection_foreground", false));
     319          collection_tree.setRootVisible(false);
    323320
    324321          collection_scroll = new JScrollPane(collection_tree);
Note: See TracChangeset for help on using the changeset viewer.