Ignore:
Timestamp:
2007-01-12T14:05:00+13:00 (17 years ago)
Author:
mdewsnip
Message:

Added a static getLoadedCollectionName() function into CollectionManager, as part of making CollectionManager fully static.

File:
1 edited

Legend:

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

    r13584 r13586  
    4848import org.greenstone.gatherer.Gatherer;
    4949import org.greenstone.gatherer.collection.BasicCollectionConfiguration;
     50import org.greenstone.gatherer.collection.CollectionManager;
    5051import org.greenstone.gatherer.file.WorkspaceTree;  // !!! Don't like this here
    5152import org.greenstone.gatherer.util.ArrayTools;
     
    293294        Gatherer.g_man.refreshWorkspaceTree(WorkspaceTree.LIBRARY_CONTENTS_CHANGED);
    294295
    295         if (Gatherer.c_man.getCollection() != null && collection.getShortName().equals(Gatherer.c_man.getCollection().getName())) {
     296        if (Gatherer.c_man.getCollection() != null && collection.getShortName().equals(CollectionManager.getLoadedCollectionName())) {
    296297            current_coll_deleted = true;
    297298        }
Note: See TracChangeset for help on using the changeset viewer.