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/cdm/MacrosManager.java

    r12652 r13586  
    4141import java.io.OutputStreamWriter;
    4242
    43 import org.greenstone.gatherer.collection.CollectionManager;
    4443import org.greenstone.gatherer.Configuration;
    4544import org.greenstone.gatherer.DebugStream;
    4645import org.greenstone.gatherer.Dictionary;
    4746import org.greenstone.gatherer.Gatherer;
     47import org.greenstone.gatherer.collection.CollectionManager;
    4848import org.greenstone.gatherer.gui.DesignPaneHeader;
    4949import org.greenstone.gatherer.gui.GLIButton;
     
    217217        // Users need to wait until the upload has finished before pressing Preview Collection!
    218218        if (Gatherer.isGsdlRemote) {
    219             String collection_name = Gatherer.c_man.getCollection().getName();
    220             RemoteGreenstoneServer.uploadCollectionFile(collection_name, extra_dm_file);
     219            RemoteGreenstoneServer.uploadCollectionFile(CollectionManager.getLoadedCollectionName(), extra_dm_file);
    221220        }
    222221        }
Note: See TracChangeset for help on using the changeset viewer.