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/CollectionConfiguration.java

    r13421 r13586  
    3636import org.greenstone.gatherer.Gatherer;
    3737import org.greenstone.gatherer.LocalLibraryServer;
     38import org.greenstone.gatherer.collection.CollectionManager;
    3839import org.greenstone.gatherer.gui.GLIButton;
    3940import org.greenstone.gatherer.metadata.MetadataElement;
     
    484485
    485486    // If we're using the Local Library we must release the collection before writing to the collect.cfg file
    486     String collection_name = Gatherer.c_man.getCollection().getName();
     487    String collection_name = CollectionManager.getLoadedCollectionName();
    487488    boolean collection_released = false;
    488489    if (Gatherer.c_man.built() && LocalLibraryServer.isRunning() == true) {
Note: See TracChangeset for help on using the changeset viewer.