Class ExceptionsDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.jface.dialogs.TitleAreaDialog
org.palladiosimulator.editors.commons.dialogs.exception.ExceptionsDialog
- All Implemented Interfaces:
IShellProvider
The Class ExceptionsDialog.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The Constant CONTEXT_COLUMN.static final int
The Constant CONTEXT_COLUMN_INDEX.protected org.eclipse.emf.transaction.TransactionalEditingDomain
The transactional editing domain which is used to get the commands and alter the model.static final String
Columns of a table, which is used into ParameterEditDialog.static final int
The Constant ICON_COLUMN_INDEX.static final String
The Constant NAME_COLUMN.static final int
The Constant NAME_COLUMN_INDEX.Fields inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
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
ConstructorDescriptionExceptionsDialog
(Shell parentShell, org.palladiosimulator.pcm.repository.Signature signature) Instantiates a new exceptions dialog. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureShell
(Shell newShell) protected void
createButtonsForButtonBar
(Composite parent) protected Control
createDialogArea
(Composite parent) static String[]
Gets the column names.protected Point
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
createContents, getErrorMessage, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
Field Details
-
ICON_COLUMN_INDEX
public static final int ICON_COLUMN_INDEXThe Constant ICON_COLUMN_INDEX.- See Also:
-
CONTEXT_COLUMN_INDEX
public static final int CONTEXT_COLUMN_INDEXThe Constant CONTEXT_COLUMN_INDEX.- See Also:
-
NAME_COLUMN_INDEX
public static final int NAME_COLUMN_INDEXThe Constant NAME_COLUMN_INDEX.- See Also:
-
ICON_COLUMN
Columns of a table, which is used into ParameterEditDialog.- See Also:
-
CONTEXT_COLUMN
The Constant CONTEXT_COLUMN.- See Also:
-
NAME_COLUMN
The Constant NAME_COLUMN.- See Also:
-
editingDomain
protected org.eclipse.emf.transaction.TransactionalEditingDomain editingDomainThe transactional editing domain which is used to get the commands and alter the model.
-
-
Constructor Details
-
ExceptionsDialog
public ExceptionsDialog(Shell parentShell, org.palladiosimulator.pcm.repository.Signature signature) Instantiates a new exceptions dialog.- Parameters:
parentShell
- the parent shellsignature
- the signature
-
-
Method Details
-
configureShell
- Overrides:
configureShell
in classWindow
-
createDialogArea
- Overrides:
createDialogArea
in classTitleAreaDialog
-
createButtonsForButtonBar
- Overrides:
createButtonsForButtonBar
in classDialog
-
getInitialSize
- Overrides:
getInitialSize
in classTitleAreaDialog
-
getColumnNames
Gets the column names.- Returns:
- the column names
-