this.status = status;
}
public static void openGOIMErrorAsync(final Shell parentShell,final String dialogTitle, final String message, final Throwable e) {
Display display = parentShell == null ? Display.getDefault() : parentShell.getDisplay();
display.asyncExec(new Runnable() { public void run() {
openGOIMError(parentShell,dialogTitle,message,e);
}});
}
public static GOIMErrorDialog openGOIMError(Shell parentShell,String dialogTitle, String message, Throwable e) {
GOIMErrorDialog dialog = new GOIMErrorDialog(parentShell,dialogTitle,message,new Status(IStatus.ERROR,GOIMPlugin.ID,IStatus.ERROR,message,e),IStatus.ERROR);