- Timestamp:
- 2007-01-12T13:21:37+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/DeleteCollectionPrompt.java
r12730 r13584 47 47 import org.greenstone.gatherer.Dictionary; 48 48 import org.greenstone.gatherer.Gatherer; 49 import org.greenstone.gatherer.LocalLibraryServer;50 49 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 51 50 import org.greenstone.gatherer.file.WorkspaceTree; // !!! Don't like this here 52 import org.greenstone.gatherer.remote.RemoteGreenstoneServer;53 51 import org.greenstone.gatherer.util.ArrayTools; 54 52 import org.greenstone.gatherer.util.StaticStrings; … … 288 286 * @see org.greenstone.gatherer.util.Utility 289 287 */ 290 public void actionPerformed(ActionEvent event) { 288 public void actionPerformed(ActionEvent event) 289 { 291 290 // Delete the selected collection. 292 // !! This should all go into CollectionManager !!293 294 // First we must release it from the local library295 if (LocalLibraryServer.isRunning() == true) {296 LocalLibraryServer.releaseCollection(collection.getShortName());297 }298 299 if (Gatherer.isGsdlRemote) {300 RemoteGreenstoneServer.deleteCollection(collection.getShortName());301 }302 303 291 if (Gatherer.c_man.deleteCollection(collection.getShortName())) { 304 292 // Refresh the collections shown in the workspace tree
Note:
See TracChangeset
for help on using the changeset viewer.