2122232425262728293031
if (returnCode == PlatformUI.RETURN_RESTART) return IApplication.EXIT_RESTART; else return IApplication.EXIT_OK; } finally { display.dispose(); } } /* (non-Javadoc)
130131132133134135136137
shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
156157158159160161162163
5859606162636465666768
MessageDialog.openError(display.getActiveShell(), "Error!", "An exception has been caught: " + builder.toString()); e.printStackTrace(); } finally { display.dispose(); } return IApplication.EXIT_OK; } @Override
3738394041424344454647
if (returnCode == PlatformUI.RETURN_RESTART) { return IApplication.EXIT_RESTART; } return IApplication.EXIT_OK; } finally { display.dispose(); } } @Override public void stop() {
63646566676869707172
return IPlatformRunnable.EXIT_OK; } finally { display.dispose(); logger.info( "Exiting LDAP Studio." ); //$NON-NLS-1$ } } }
return IPlatformRunnable.EXIT_OK; } finally { display.dispose(); logger.info( "Exiting Apache Directory Studio." ); //$NON-NLS-1$ } } }
8384858687888990919293
while (!display.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } if (display != null && !display.isDisposed()) { display.dispose(); } System.exit(0); } private static Rectangle oneScreenBound() {
88899091929394959697
if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); System.exit(0); } }
919293949596979899100