Class EditProbability
java.lang.Object
org.palladiosimulator.editors.sirius.custom.externaljavaactions.EditProbability
- All Implemented Interfaces:
org.eclipse.sirius.tools.api.ui.IExternalJavaAction
- Direct Known Subclasses:
EditBranchProbability
,EditInternalFailureOccurrenceDescriptionProbability
,EditLinkingResourceFailureProbability
public abstract class EditProbability
extends Object
implements org.eclipse.sirius.tools.api.ui.IExternalJavaAction
Abstract class used to edit a probability using the Direct Edit Label.
The input value must be passed as an argument called "var"
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canExecute
(Collection<? extends EObject> selections) void
protected abstract void
setProbability
(EObject eObject, double probability)
-
Constructor Details
-
EditProbability
public EditProbability()
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-
setProbability
-
canExecute
- Specified by:
canExecute
in interfaceorg.eclipse.sirius.tools.api.ui.IExternalJavaAction
-