Class StoExEditDialogImpl
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.stoex.impl.StoExEditDialogImpl
- All Implemented Interfaces:
IShellProvider
,StoExEditDialog
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
-
Field Summary
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
ConstructorDescriptionStoExEditDialogImpl
(Shell parentShell, de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum expectedType) -
Method Summary
Modifier and TypeMethodDescriptionprotected Control
createContents
(Composite parent) protected Control
createDialogArea
(Composite parent) de.uka.ipd.sdq.stoex.Expression
protected boolean
protected void
protected void
processValidationResult
(Collection<org.eclipse.xtext.validation.Issue> issues) protected String
serialize
(de.uka.ipd.sdq.stoex.Expression expression) void
setContext
(de.uka.ipd.sdq.stoex.RandomVariable context) void
setDisplayTitle
(String dialogMessage) void
setInitialExpression
(de.uka.ipd.sdq.stoex.Expression expression) protected void
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
getErrorMessage, getInitialSize, 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, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, configureShell, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.palladiosimulator.editors.commons.dialogs.stoex.StoExEditDialog
getReturnCode, open
-
Constructor Details
-
StoExEditDialogImpl
public StoExEditDialogImpl(Shell parentShell, de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum expectedType)
-
-
Method Details
-
setInitialExpression
public void setInitialExpression(de.uka.ipd.sdq.stoex.Expression expression) - Specified by:
setInitialExpression
in interfaceStoExEditDialog
-
setDisplayTitle
- Specified by:
setDisplayTitle
in interfaceStoExEditDialog
-
getResult
public de.uka.ipd.sdq.stoex.Expression getResult()- Specified by:
getResult
in interfaceStoExEditDialog
-
getResultString
- Specified by:
getResultString
in interfaceStoExEditDialog
-
createDialogArea
- Overrides:
createDialogArea
in classTitleAreaDialog
-
serialize
-
createContents
- Overrides:
createContents
in classTitleAreaDialog
-
isResizable
protected boolean isResizable()- Overrides:
isResizable
in classDialog
-
okPressed
protected void okPressed() -
setResultVariables
protected void setResultVariables() -
processValidationResult
-
setContext
public void setContext(de.uka.ipd.sdq.stoex.RandomVariable context) - Specified by:
setContext
in interfaceStoExEditDialog
-