Class ExecutionErrorDialog

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.IconAndMessageDialog
org.eclipse.jface.dialogs.MessageDialog
com.e1c.langtool.ui.ExecutionErrorDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class ExecutionErrorDialog extends org.eclipse.jface.dialogs.MessageDialog
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jface.window.Window

    org.eclipse.jface.window.Window.IExceptionHandler
  • Field Summary

    Fields inherited from class org.eclipse.jface.dialogs.MessageDialog

    AUTOMATED_MODE, CONFIRM, ERROR, INFORMATION, NONE, QUESTION, QUESTION_WITH_CANCEL, WARNING

    Fields inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog

    imageLabel, message, messageLabel

    Fields inherited from class 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

    Fields inherited from class org.eclipse.jface.window.Window

    CANCEL, OK, resizeHasOccurred
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExecutionErrorDialog(org.eclipse.swt.widgets.Shell parentShell, String message, Throwable exception)
     
    ExecutionErrorDialog(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.runtime.IStatus status)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    buttonPressed(int id)
     
    protected void
    createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
     
    protected org.eclipse.swt.widgets.Control
    createDetailsArea(org.eclipse.swt.widgets.Composite parent)
     
    protected String
    getMessage(Throwable exception)
     
    protected void
     
    protected boolean
     
    static int
    openError(org.eclipse.swt.widgets.Shell parentShell, String message, Throwable exception)
     
    static int
    openError(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.runtime.IStatus status)
     
    void
    setInitiallyOpened(boolean initiallyOpened)
     
    protected String
    toString(org.eclipse.core.runtime.IStatus status, String prefix)
     

    Methods inherited from class org.eclipse.jface.dialogs.MessageDialog

    configureShell, createButton, createCustomArea, createDialogArea, customShouldTakeFocus, getButton, getButtonLabels, getDefaultButtonIndex, getImage, getMinimumMessageWidth, handleShellCloseEvent, open, open, open, openConfirm, openError, openInformation, openQuestion, openWarning, setButtonLabels, setButtons

    Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog

    createButtonBar, createContents, createDialogAndButtonArea, createMessageArea, getColumnCount, getErrorImage, getInfoImage, getMessageLabelStyle, getQuestionImage, getWarningImage

    Methods inherited from class org.eclipse.jface.dialogs.Dialog

    applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, dialogFontIsDefault, getBlockedHandler, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText

    Methods inherited from class org.eclipse.jface.window.Window

    canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExecutionErrorDialog

      public ExecutionErrorDialog(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.runtime.IStatus status)
    • ExecutionErrorDialog

      public ExecutionErrorDialog(org.eclipse.swt.widgets.Shell parentShell, String message, Throwable exception)
  • Method Details

    • openError

      public static int openError(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.runtime.IStatus status)
    • openError

      public static int openError(org.eclipse.swt.widgets.Shell parentShell, String message, Throwable exception)
    • setInitiallyOpened

      public void setInitiallyOpened(boolean initiallyOpened)
    • buttonPressed

      protected void buttonPressed(int id)
      Overrides:
      buttonPressed in class org.eclipse.jface.dialogs.MessageDialog
    • initializeBounds

      protected void initializeBounds()
      Overrides:
      initializeBounds in class org.eclipse.jface.dialogs.Dialog
    • createButtonsForButtonBar

      protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
      Overrides:
      createButtonsForButtonBar in class org.eclipse.jface.dialogs.MessageDialog
    • createDetailsArea

      protected org.eclipse.swt.widgets.Control createDetailsArea(org.eclipse.swt.widgets.Composite parent)
    • getMessage

      protected String getMessage(Throwable exception)
    • toString

      protected String toString(org.eclipse.core.runtime.IStatus status, String prefix)
    • isInitiallyOpened

      protected boolean isInitiallyOpened(Throwable throwable)