Changeset 14422
- Timestamp:
- 2007-09-06T09:25:28+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/tags/2-74/src/org/greenstone/gatherer/Gatherer.java
r14257 r14422 402 402 // Create GUI Manager (last) or else suffer the death of a thousand NPE's 403 403 g_man = new GUIManager(size); 404 404 405 // Get a list of the core Greenstone classifiers and plugins 406 Classifiers.loadClassifiersList(null); 407 Plugins.loadPluginsList(null); 408 409 // If using a remote Greenstone we need to download the collection configurations now 410 if (Gatherer.isGsdlRemote) { 411 if (RemoteGreenstoneServer.downloadCollectionConfigurations().equals("")) { 412 // !! Something went wrong downloading the collection configurations 413 System.err.println("Error: Could not download collection configurations."); 414 System.exit(0); 415 } 416 } 405 417 } 406 418 … … 454 466 g_man.setVisible(true); 455 467 } 468 469 //Couldn't get either the classifier or plugin list, when the remote gli applet was running.I decided to move this part back into init(). 456 470 // Get a list of the core Greenstone classifiers and plugins 457 Classifiers.loadClassifiersList(null);471 /* Classifiers.loadClassifiersList(null); 458 472 Plugins.loadPluginsList(null); 459 473 … … 465 479 System.exit(0); 466 480 } 467 } 481 }*/ 468 482 469 if (open_collection_file_path == null) {483 if (open_collection_file_path == null) { 470 484 471 472 485 //the menu bar items, file and edit, are disabled from the moment of their creation. if there is no left-over collection from the last session, enable them; otherwise it is untill the collection finishes loading, will they be enabled in collectionManager.java 486 setMenuBarEnabled(true); 473 487 } else { 474 488
Note:
See TracChangeset
for help on using the changeset viewer.