Class SingleActionRestrictionUI<A extends org.palladiosimulator.pcm.seff.AbstractAction>
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.restrictions.SingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A>,A>
-
- edu.kit.ipd.sdq.eventsim.instrumentation.restrictions.action.SingleActionRestrictionUI<A>
-
- Type Parameters:
A
- the type of the action
- All Implemented Interfaces:
IRestrictionUI<ActionRepresentative>
public class SingleActionRestrictionUI<A extends org.palladiosimulator.pcm.seff.AbstractAction> extends SingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A>,A>
A UI for theSingleActionRestriction
. It requires a repository model. If no such model is references by the instrumentation description, a new one has to be chosen by the user.
-
-
Field Summary
-
Fields inherited from interface edu.kit.ipd.sdq.eventsim.instrumentation.specification.restriction.IRestrictionUI
EXTENSION_POINT_ID
-
-
Constructor Summary
Constructors Constructor Description SingleActionRestrictionUI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SingleActionRestriction<A>
createNewRestriction()
protected String
elementToID(A element)
protected String
elementToName(A element)
protected List<A>
getAllEntities()
protected String
getDescriptionMessage()
protected String
getInitallySelectedEntityId()
protected List<ActionRepresentative>
getInstrumentablesForEntity(A action)
protected void
initialize(SingleActionRestriction<A> restriction)
protected void
setIdToRestriction(String id)
-
Methods inherited from class edu.kit.ipd.sdq.eventsim.instrumentation.restrictions.SingleElementsRestrictionUI
createUIArea, getAsDialog, getRestriction, init, init, restrictionChanged
-
-
-
-
Method Detail
-
initialize
protected void initialize(SingleActionRestriction<A> restriction)
- Specified by:
initialize
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
createNewRestriction
protected SingleActionRestriction<A> createNewRestriction()
- Specified by:
createNewRestriction
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
getInitallySelectedEntityId
protected String getInitallySelectedEntityId()
- Specified by:
getInitallySelectedEntityId
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
setIdToRestriction
protected void setIdToRestriction(String id)
- Specified by:
setIdToRestriction
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
getInstrumentablesForEntity
protected List<ActionRepresentative> getInstrumentablesForEntity(A action)
- Specified by:
getInstrumentablesForEntity
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
getAllEntities
protected List<A> getAllEntities()
- Specified by:
getAllEntities
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
elementToName
protected String elementToName(A element)
- Specified by:
elementToName
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
elementToID
protected String elementToID(A element)
- Specified by:
elementToID
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
getDescriptionMessage
protected String getDescriptionMessage()
- Specified by:
getDescriptionMessage
in classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
-