|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.IconAndMessageDialog
org.eclipse.jface.dialogs.ErrorDialog
eu.esdihumboldt.hale.ui.util.dialog.StackTraceErrorDialog
public class StackTraceErrorDialog
Extended ErrorDialog which displays the stack trace. Can be configured to also show a link to the error log view.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
---|
org.eclipse.jface.window.Window.IExceptionHandler |
Field Summary | |
---|---|
protected static String |
LOG_VIEW_ID
ID of the Error Log view |
Fields inherited from class org.eclipse.jface.dialogs.ErrorDialog |
---|
AUTOMATED_MODE |
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 |
Constructor Summary | |
---|---|
StackTraceErrorDialog(org.eclipse.swt.widgets.Shell parentShell,
String dialogTitle,
String message,
org.eclipse.core.runtime.IStatus status,
int displayMask)
Constructs a new error dialog |
Method Summary | |
---|---|
boolean |
close()
|
protected void |
copyToClipboard()
Copies the stack trace to the clipboard |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent)
|
protected org.eclipse.swt.widgets.List |
createDropDownList(org.eclipse.swt.widgets.Composite parent)
|
void |
setShowErrorLogLink(boolean showErrorLogLink)
|
Methods inherited from class org.eclipse.jface.dialogs.ErrorDialog |
---|
buttonPressed, configureShell, createButtonsForButtonBar, createDetailsButton, createDialogAndButtonArea, getImage, isResizable, open, openError, openError, setStatus, shouldDisplay, shouldShowDetailsButton, showDetailsArea |
Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog |
---|
createButtonBar, createContents, createMessageArea, getErrorImage, getInfoImage, getMessageLabelStyle, getQuestionImage, getWarningImage |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
---|
applyDialogFont, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, 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, handleShellCloseEvent, 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 |
Field Detail |
---|
protected static final String LOG_VIEW_ID
Constructor Detail |
---|
public StackTraceErrorDialog(org.eclipse.swt.widgets.Shell parentShell, String dialogTitle, String message, org.eclipse.core.runtime.IStatus status, int displayMask)
ErrorDialog.ErrorDialog(Shell, String, String, IStatus, int)
Method Detail |
---|
public void setShowErrorLogLink(boolean showErrorLogLink)
showErrorLogLink
- if the error log link shall be shownprotected org.eclipse.swt.widgets.List createDropDownList(org.eclipse.swt.widgets.Composite parent)
createDropDownList
in class org.eclipse.jface.dialogs.ErrorDialog
ErrorDialog.createDropDownList(Composite)
protected void copyToClipboard()
public boolean close()
close
in class org.eclipse.jface.dialogs.ErrorDialog
ErrorDialog.close()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.ErrorDialog
ErrorDialog.createDialogArea(Composite)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |