Changeset 13460
- Timestamp:
- 2006-12-08T11:09:34+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/ExplodeMetadataDatabasePrompt.java
r13455 r13460 304 304 305 305 public void actionPerformed(ActionEvent event) { 306 Gatherer.g_man.wait(true); 306 307 // update the options 307 308 updateScriptOptions(); 309 self.dispose(); 310 (new ExplodeMetadataDatabaseTask()).start(); 311 } 312 } 313 314 315 private class ExplodeMetadataDatabaseTask 316 extends Thread 317 { 318 public ExplodeMetadataDatabaseTask() 319 { 320 } 321 322 public void run() 323 { 308 324 int exit_value = explodeMetadata(); 325 Gatherer.g_man.wait(false); 309 326 if (exit_value == 0) { // success 310 327 // Load the new metadata.xml files … … 316 333 } 317 334 error_message = null; 318 self.dispose(); 319 } 320 } 335 } 336 } 321 337 }
Note:
See TracChangeset
for help on using the changeset viewer.