public class ExceptionDialog
extends org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS| Modifier | Constructor and Description |
|---|---|
protected |
ExceptionDialog(org.eclipse.swt.widgets.Shell parentShell,
String title,
String message,
Exception exception) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buttonPressed(int id) |
protected void |
configureShell(org.eclipse.swt.widgets.Shell newShell) |
protected void |
createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Control |
createMessageArea(org.eclipse.swt.widgets.Composite composite) |
protected boolean |
isResizable() |
static int |
open(org.eclipse.swt.widgets.Shell parentShell,
String title,
Exception exception)
Opens an error dialog to display the given error.
|
static int |
open(org.eclipse.swt.widgets.Shell parentShell,
String title,
String message,
Exception exception)
Opens an error dialog to display the given error.
|
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerprotected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea in class org.eclipse.jface.dialogs.Dialogprotected org.eclipse.swt.widgets.Control createMessageArea(org.eclipse.swt.widgets.Composite composite)
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
createButtonsForButtonBar in class org.eclipse.jface.dialogs.Dialogprotected void buttonPressed(int id)
buttonPressed in class org.eclipse.jface.dialogs.Dialogpublic static int open(org.eclipse.swt.widgets.Shell parentShell,
String title,
Exception exception)
parentShell - the parent shell of the dialog, or null if nonetitle - the title to use for this dialog, or null to
indicate that the default title should be usedexception - the error to show to the userDialog.OK if the OK
button was pressed, or Dialog.CANCEL if this
dialog's close window decoration or the ESC key was used.public static int open(org.eclipse.swt.widgets.Shell parentShell,
String title,
String message,
Exception exception)
parentShell - the parent shell of the dialog, or null if nonetitle - the title to use for this dialog, or null to
indicate that the default title should be usedmessage - the message to show in this dialog, or null to
indicate that the error's message should be shown as the
primary messageexception - the error to show to the userDialog.OK if the OK
button was pressed, or Dialog.CANCEL if this
dialog's close window decoration or the ESC key was used.protected boolean isResizable()
isResizable in class org.eclipse.jface.dialogs.Dialogprotected void configureShell(org.eclipse.swt.widgets.Shell newShell)
configureShell in class org.eclipse.jface.window.WindowCopyright © 2017. All rights reserved.