- // static void closeWorkbench() {
- // final IWorkbench workbench;
- // try {
- // workbench = PlatformUI.getWorkbench();
- // } catch (Exception e) {
- // return;
- // }
- // if (workbench == null)
- // return;
- // final Display display = workbench.getDisplay();
- // if (display != null && !display.isDisposed())
- // display.syncExec(new Runnable() {
- //
- // public void run() {
- // if (!display.isDisposed())
- // workbench.close();
- // }
- // });
- //
- // if (log.isDebugEnabled())
- // log.debug("Workbench closed");
- // }
-
- static class FailedLogin extends MessageDialog {
-
- public FailedLogin(Shell parentShell, String dialogTitle,
- Image dialogTitleImage, String dialogMessage,
- int dialogImageType, String[] dialogButtonLabels,
- int defaultIndex) {
- super(parentShell, "Failed ", dialogTitleImage, dialogMessage,
- dialogImageType, dialogButtonLabels, defaultIndex);
- // TODO Auto-generated constructor stub
- }
-
- }
-