Class StochasticExpressionEditDialog
java.lang.Object
org.palladiosimulator.editors.commons.dialogs.stoex.StochasticExpressionEditDialog
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStochasticExpressionEditDialog
(Shell shell, de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum expectedType) StochasticExpressionEditDialog
(Shell shell, de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum expectedType, de.uka.ipd.sdq.stoex.RandomVariable container) -
Method Summary
Modifier and TypeMethodDescriptionint
static de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum
getTypeFromVariableCharacterisation
(org.palladiosimulator.pcm.parameter.VariableCharacterisation ch) Get the type of a variable characterisation.int
open()
void
setDisplayTitle
(String dialogMessage) void
setInitialExpression
(de.uka.ipd.sdq.stoex.RandomVariable randVar)
-
Field Details
-
dialog
-
-
Constructor Details
-
StochasticExpressionEditDialog
public StochasticExpressionEditDialog(Shell shell, de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum expectedType) -
StochasticExpressionEditDialog
public StochasticExpressionEditDialog(Shell shell, de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum expectedType, de.uka.ipd.sdq.stoex.RandomVariable container)
-
-
Method Details
-
open
public int open() -
getReturnCode
public int getReturnCode() -
getResultText
-
getResult
-
setInitialExpression
public void setInitialExpression(de.uka.ipd.sdq.stoex.RandomVariable randVar) -
setDisplayTitle
-
getTypeFromVariableCharacterisation
public static de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum getTypeFromVariableCharacterisation(org.palladiosimulator.pcm.parameter.VariableCharacterisation ch) Get the type of a variable characterisation.- Parameters:
ch
- The characterisation to check.- Returns:
- INT for ByteSize and number of elements, ANY for all others.
-