Ignore:
Timestamp:
2004-05-27T17:12:03+12:00 (20 years ago)
Author:
mdewsnip
Message:

Some tidy ups in preparation for finalising the workspace and collection tree refreshing.

File:
1 edited

Legend:

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

    r6086 r7482  
    1717
    1818
    19     public WorkspaceTree(String name) {
     19    public WorkspaceTree(String name)
     20    {
    2021    super(name, WorkspaceTreeModel.getWorkspaceTreeModel(), null, true);
    2122    }
    2223
    2324
    24     public void refresh(int refresh_reason) {
     25    public void refresh(int refresh_reason)
     26    {
    2527    Gatherer.println("WorkspaceTree::refresh()... ");
    2628
     
    4749
    4850    // The method for displaying the tree has changed - redraw the tree
    49     if (refresh_reason == DragTree.TREE_DISPLAY_CHANGED) {
    50         Gatherer.println("...Reason: tree display changed.");
    51         updateUI();
    52     }
     51    if (refresh_reason == DragTree.TREE_DISPLAY_CHANGED) {
     52        Gatherer.println("...Reason: tree display changed.");
     53        updateUI();
     54    }
    5355
    5456    // The collection specific mapped directories have changed - refresh only them
     
    8284        }
    8385
    84         // If the collection import directory is open, it must be refreshed
     86        // If the specified folder is open, it must be refreshed
    8587        if (tree_node_path_str.equals(folder_path_str)) {
    8688        System.err.println("Must refresh node " + tree_node_path_str + "!");
Note: See TracChangeset for help on using the changeset viewer.