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
public class ExceptionsDialog extends TitleAreaDialog
The Class ExceptionsDialog.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTEXT_COLUMN
The Constant CONTEXT_COLUMN.static int
CONTEXT_COLUMN_INDEX
The Constant CONTEXT_COLUMN_INDEX.protected org.eclipse.emf.transaction.TransactionalEditingDomain
editingDomain
The transactional editing domain which is used to get the commands and alter the model.static String
ICON_COLUMN
Columns of a table, which is used into ParameterEditDialog.static int
ICON_COLUMN_INDEX
The Constant ICON_COLUMN_INDEX.static String
NAME_COLUMN
The Constant NAME_COLUMN.static int
NAME_COLUMN_INDEX
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
Constructors Constructor Description ExceptionsDialog(Shell parentShell, org.palladiosimulator.pcm.repository.Signature signature)
Instantiates a new exceptions dialog.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureShell(Shell newShell)
protected void
createButtonsForButtonBar(Composite parent)
protected Control
createDialogArea(Composite parent)
static String[]
getColumnNames()
Gets the column names.protected Point
getInitialSize()
-
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 Detail
-
ICON_COLUMN_INDEX
public static final int ICON_COLUMN_INDEX
The Constant ICON_COLUMN_INDEX.- See Also:
- Constant Field Values
-
CONTEXT_COLUMN_INDEX
public static final int CONTEXT_COLUMN_INDEX
The Constant CONTEXT_COLUMN_INDEX.- See Also:
- Constant Field Values
-
NAME_COLUMN_INDEX
public static final int NAME_COLUMN_INDEX
The Constant NAME_COLUMN_INDEX.- See Also:
- Constant Field Values
-
ICON_COLUMN
public static final String ICON_COLUMN
Columns of a table, which is used into ParameterEditDialog.- See Also:
- Constant Field Values
-
CONTEXT_COLUMN
public static final String CONTEXT_COLUMN
The Constant CONTEXT_COLUMN.- See Also:
- Constant Field Values
-
NAME_COLUMN
public static final String NAME_COLUMN
The Constant NAME_COLUMN.- See Also:
- Constant Field Values
-
editingDomain
protected org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain
The transactional editing domain which is used to get the commands and alter the model.
-
-
Constructor Detail
-
ExceptionsDialog
public ExceptionsDialog(Shell parentShell, org.palladiosimulator.pcm.repository.Signature signature)
Instantiates a new exceptions dialog.- Parameters:
parentShell
- the parent shellsignature
- the signature
-
-
Method Detail
-
configureShell
protected void configureShell(Shell newShell)
- Overrides:
configureShell
in classWindow
-
createDialogArea
protected Control createDialogArea(Composite parent)
- Overrides:
createDialogArea
in classTitleAreaDialog
-
createButtonsForButtonBar
protected void createButtonsForButtonBar(Composite parent)
- Overrides:
createButtonsForButtonBar
in classDialog
-
getInitialSize
protected Point getInitialSize()
- Overrides:
getInitialSize
in classTitleAreaDialog
-
getColumnNames
public static String[] getColumnNames()
Gets the column names.- Returns:
- the column names
-
-