Changeset 13586 for trunk/gli/src/org/greenstone/gatherer/gui
- Timestamp:
- 2007-01-12T14:05:00+13:00 (17 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/DeleteCollectionPrompt.java
r13584 r13586 48 48 import org.greenstone.gatherer.Gatherer; 49 49 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 50 import org.greenstone.gatherer.collection.CollectionManager; 50 51 import org.greenstone.gatherer.file.WorkspaceTree; // !!! Don't like this here 51 52 import org.greenstone.gatherer.util.ArrayTools; … … 293 294 Gatherer.g_man.refreshWorkspaceTree(WorkspaceTree.LIBRARY_CONTENTS_CHANGED); 294 295 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())) { 296 297 current_coll_deleted = true; 297 298 } -
trunk/gli/src/org/greenstone/gatherer/gui/ExplodeMetadataDatabasePrompt.java
r13579 r13586 271 271 else { 272 272 // Add in the filename, relative to the collection directory 273 String collection_name = Gatherer.c_man.getCollection().getName();273 String collection_name = CollectionManager.getLoadedCollectionName(); 274 274 String collection_directory_path = CollectionManager.getCollectionDirectoryPath(collection_name); 275 275 String metadata_file_relative_path = RemoteGreenstoneServer.getPathRelativeToDirectory(metadata_file, collection_directory_path); … … 344 344 if (Gatherer.isGsdlRemote) { 345 345 Utility.delete(metadata_file.getParentFile()); 346 RemoteGreenstoneServer.downloadCollectionFile( Gatherer.c_man.getCollection().getName(), metadata_file.getParentFile());346 RemoteGreenstoneServer.downloadCollectionFile(CollectionManager.getLoadedCollectionName(), metadata_file.getParentFile()); 347 347 } 348 348
Note:
See TracChangeset
for help on using the changeset viewer.