Ignore:
Timestamp:
2005-02-14T11:07:52+13:00 (19 years ago)
Author:
mdewsnip
Message:

Moved some GUI stuff out of CollectionManager and into GUIManager.

File:
1 edited

Legend:

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

    r8805 r9017  
    4848import org.greenstone.gatherer.Gatherer;
    4949import org.greenstone.gatherer.LocalLibraryServer;
     50import org.greenstone.gatherer.file.WorkspaceTree;  // !!! Don't like this here
    5051import org.greenstone.gatherer.gui.GLIButton;
    5152import org.greenstone.gatherer.gui.ModalDialog;
     
    348349
    349350        if (Gatherer.c_man.deleteCollection(collection.getShortName())) {
     351        // Refresh the collections shown in the workspace tree
     352        Gatherer.g_man.refreshWorkspaceTree(WorkspaceTree.LIBRARY_CONTENTS_CHANGED);
     353
    350354        if (Gatherer.c_man.getCollection() != null && collection.getShortName().equals(Gatherer.c_man.getCollection().getName())) {
    351355            current_coll_deleted = true;
Note: See TracChangeset for help on using the changeset viewer.