Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.help.ui.internal.util
Class RuntimeErrorDialog  view RuntimeErrorDialog download RuntimeErrorDialog.java

java.lang.Object
  extended byorg.eclipse.jface.window.Window
      extended byorg.eclipse.jface.dialogs.Dialog
          extended byorg.eclipse.jface.dialogs.IconAndMessageDialog
              extended byorg.eclipse.jface.dialogs.MessageDialog
                  extended byorg.eclipse.help.ui.internal.util.RuntimeErrorDialog

public class RuntimeErrorDialog
extends org.eclipse.jface.dialogs.MessageDialog

This is the Dialog box that displays all the errors the occur during the initial load of the Help System. It's data (model) is taken from the RuntimeHelpStatus object.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
private static java.lang.String errorStringToDisplay
           
 
Fields inherited from class org.eclipse.jface.dialogs.MessageDialog
ERROR, INFORMATION, NONE, QUESTION, WARNING
 
Fields inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
imageLabel, message, messageLabel
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, dialogArea, DLG_IMG_ERROR, 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
 
Constructor Summary
RuntimeErrorDialog(org.eclipse.swt.widgets.Shell parentShell, java.lang.String dialogTitle, org.eclipse.swt.graphics.Image dialogTitleImage, java.lang.String dialogMessage, int dialogImageType, java.lang.String[] dialogButtonLabels, int defaultIndex)
          RuntimeErrorDialog constructor comment.
 
Method Summary
protected  org.eclipse.swt.widgets.Control createCustomArea(org.eclipse.swt.widgets.Composite parent)
          Creates and returns the contents of an area of the dialog which appears below the message and above the button bar.
static void open(org.eclipse.swt.widgets.Shell parentShell, java.lang.String title, java.lang.String message, java.lang.String errorString)
           
 
Methods inherited from class org.eclipse.jface.dialogs.MessageDialog
buttonPressed, configureShell, createButton, createButtonsForButtonBar, createDialogArea, customShouldTakeFocus, getButton, getButtonLabels, getDefaultButtonIndex, getImage, getMinimumMessageWidth, handleShellCloseEvent, openConfirm, openError, openInformation, openQuestion, openWarning, setButtonLabels, setButtons
 
Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
createButtonBar, createContents, createDialogAndButtonArea, createMessageArea, 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, getImage, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getInitialLocation, getInitialSize, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setExceptionHandler, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorStringToDisplay

private static java.lang.String errorStringToDisplay
Constructor Detail

RuntimeErrorDialog

public RuntimeErrorDialog(org.eclipse.swt.widgets.Shell parentShell,
                          java.lang.String dialogTitle,
                          org.eclipse.swt.graphics.Image dialogTitleImage,
                          java.lang.String dialogMessage,
                          int dialogImageType,
                          java.lang.String[] dialogButtonLabels,
                          int defaultIndex)
RuntimeErrorDialog constructor comment.

Method Detail

createCustomArea

protected org.eclipse.swt.widgets.Control createCustomArea(org.eclipse.swt.widgets.Composite parent)
Description copied from class: org.eclipse.jface.dialogs.MessageDialog
Creates and returns the contents of an area of the dialog which appears below the message and above the button bar.

The default implementation of this framework method returns null. Subclasses may override.


open

public static void open(org.eclipse.swt.widgets.Shell parentShell,
                        java.lang.String title,
                        java.lang.String message,
                        java.lang.String errorString)