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

    r13579 r13586  
    271271    else {
    272272        // Add in the filename, relative to the collection directory
    273         String collection_name = Gatherer.c_man.getCollection().getName();
     273        String collection_name = CollectionManager.getLoadedCollectionName();
    274274        String collection_directory_path = CollectionManager.getCollectionDirectoryPath(collection_name);
    275275        String metadata_file_relative_path = RemoteGreenstoneServer.getPathRelativeToDirectory(metadata_file, collection_directory_path);
     
    344344        if (Gatherer.isGsdlRemote) {
    345345            Utility.delete(metadata_file.getParentFile());
    346             RemoteGreenstoneServer.downloadCollectionFile(Gatherer.c_man.getCollection().getName(), metadata_file.getParentFile());
     346            RemoteGreenstoneServer.downloadCollectionFile(CollectionManager.getLoadedCollectionName(), metadata_file.getParentFile());
    347347        }
    348348
Note: See TracChangeset for help on using the changeset viewer.