Changeset 10239
- Timestamp:
- 2005-07-13T11:44:07+12:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r10013 r10239 87 87 static public boolean GS3 = false; 88 88 89 static public boolean isApplet = false; 89 90 static public boolean isGsdlRemote = false; 90 91 static public String cgiBase = ""; … … 222 223 missingImageMagick(); 223 224 } 224 225 225 226 if (Gatherer.isGsdlRemote) { 226 227 DebugStream.println("Not checking for perl path/exe"); … … 433 434 } 434 435 435 if(apps.size() == 0) { 436 if (!Gatherer.isGsdlRemote) { 436 // Make sure we haven't started up any processes that are still running 437 if (apps.size() == 0) { 438 if (Gatherer.isApplet) { 439 // If we're running as an applet we don't actually quit, just delete the main GLI window 440 g_man = null; 441 } 442 else { 443 // This is the end... 437 444 System.exit(0); 438 }439 else {440 g_man = null;441 445 } 442 446 } -
trunk/gli/src/org/greenstone/gatherer/GathererApplet.java
r10219 r10239 137 137 gatherer.feedback_dialog = dlg; 138 138 } 139 139 140 Gatherer.isApplet = true; 140 141 Gatherer.isGsdlRemote = true; 141 142 Gatherer.cgiBase = cgi_base; -
trunk/gli/src/org/greenstone/gatherer/gui/ExplodeMetadataPrompt.java
r9755 r10239 228 228 { 229 229 if (Gatherer.isGsdlRemote) { 230 // what here??230 // !! TO DO 231 231 return -1; 232 232 } -
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r10016 r10239 416 416 417 417 if (!Gatherer.c_man.ready() || design_pane.canSave()) { 418 if (Gatherer.isGsdlRemote) { 418 // If we're running as an applet we don't actually quit, just hide the main GLI window 419 if (Gatherer.isApplet) { 419 420 // consider saving??? 420 421 setVisible(false);
Note:
See TracChangeset
for help on using the changeset viewer.