1819202122232425262728
if (returnCode == PlatformUI.RETURN_RESTART) return IApplication.EXIT_RESTART; else return IApplication.EXIT_OK; } finally { display.dispose(); } } @Override public void stop() {
103104105106107108109110
while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
61626364656667686970
{ if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
5657585960616263
while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } }
161718192021222324
if (returnCode == PlatformUI.RETURN_RESTART) { return IPlatformRunnable.EXIT_RESTART; } return IPlatformRunnable.EXIT_OK; } finally { display.dispose(); } } }
105106107108109110111112113114115
return IApplication.EXIT_RESTART; } return IApplication.EXIT_OK; } finally { Log.getInstance(Application.class).info("Application stoped."); //$NON-NLS-1$ display.dispose(); } } /* (non-Javadoc) * @see org.eclipse.equinox.app.IApplication#stop()
383940414243444546
4950515253545556575859
while (!shell.isDisposed()) { if (!displayImg.readAndDispatch()) displayImg.sleep(); } // tear down the SWT window displayImg.dispose(); } /** * Create contents of the shell. */
2728293031323334353637
if (returnCode == PlatformUI.RETURN_RESTART) return IApplication.EXIT_RESTART; else return IApplication.EXIT_OK; } finally { display.dispose(); } } /*
463464465466467468469470
} while (icd.newImageName != null); } } shell.dispose(); display.dispose(); } }