Ignore:
Timestamp:
2003-12-02T17:15:47+13:00 (20 years ago)
Author:
jmt12
Message:

Moved the special folder 'shortcuts' from collection based to shared for the installation of gli. This caused some added fun when it turned out one of the workspace tree refreshes was blocking the AWTEvent thread, despite me putting tests in place to stop that from happening. It had never reared its ugly head before, as there were never any shortcut collections being mapped when a collection had been closed, or when GLI was exiting before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/file/WorkspaceTreeModel.java

    r5898 r6086  
    6666    static private void loadCollectionSpecificMappings()
    6767    {
     68    ///ystem.err.print("Load Collection Specific Mappings... ");
    6869    // Add the current collection specific mappings
    6970    collection_specific_mappings = CollectionManager.getCollectionSpecificMappings();
     71    ///ystem.err.print("Retrieved Mappings... ");
    7072    if (collection_specific_mappings != null) {
    7173        for (int i = 0; i < collection_specific_mappings.length; i++) {
    72         SynchronizedTreeModelTools.insertNodeInto(workspace_tree_model,
    73                               workspace_tree_root,
    74                               collection_specific_mappings[i]);
     74        ///ystem.err.print("Setting " + i + " Mapping... ");
     75        SynchronizedTreeModelTools.insertNodeInto(workspace_tree_model, workspace_tree_root, collection_specific_mappings[i], false);
    7576        }
    7677    }
     78    ///ystem.err.println("Done.");
    7779    }
    7880
Note: See TracChangeset for help on using the changeset viewer.