325326327328329330331332333334335
// If no more entries in event queue display.sleep(); } } display.dispose(); } @Override public void setFocus() { // TODO Auto-generated method stub
8283848586878889909192
throws Exception { // Dispose of the previously created display. Display current = Display.getCurrent(); if (current != null) { current.dispose(); } super.tearDown(); }
4849505152535455565758
323334353637383940
return IPlatformRunnable.EXIT_RESTART; } return IPlatformRunnable.EXIT_OK; } finally { display.dispose(); } } }
104105106107108109110111112113114
if (_das != null) { _das.close(); } display.dispose(); } } /* (non-Javadoc) * @see org.eclipse.equinox.app.IApplication#stop()
2122232425262728293031
if (returnCode == PlatformUI.RETURN_RESTART) return IApplication.EXIT_RESTART; else return IApplication.EXIT_OK; } finally { display.dispose(); } } /* (non-Javadoc)
1516171819202122232425
if (returnCode == PlatformUI.RETURN_RESTART) { return IApplication.EXIT_RESTART; } return IApplication.EXIT_OK; } finally { display.dispose(); } } public void stop() { final IWorkbench workbench = PlatformUI.getWorkbench();
if (returnCode == PlatformUI.RETURN_RESTART) { return IApplication.EXIT_RESTART; } return IApplication.EXIT_OK; } finally { display.dispose(); } } /* (non-Javadoc) * @see org.eclipse.equinox.app.IApplication#stop()
146147148149150151152153154155156
4546474849505152535455
while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } try { display.dispose(); } finally { System.exit(0); } }