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 StringelementToID(A element)protected StringelementToName(A element)protected List<A>getAllEntities()protected StringgetDescriptionMessage()protected StringgetInitallySelectedEntityId()protected List<ActionRepresentative>getInstrumentablesForEntity(A action)protected voidinitialize(SingleActionRestriction<A> restriction)protected voidsetIdToRestriction(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:
initializein classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
createNewRestriction
protected SingleActionRestriction<A> createNewRestriction()
- Specified by:
createNewRestrictionin classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
getInitallySelectedEntityId
protected String getInitallySelectedEntityId()
- Specified by:
getInitallySelectedEntityIdin 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:
setIdToRestrictionin 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:
getInstrumentablesForEntityin classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
getAllEntities
protected List<A> getAllEntities()
- Specified by:
getAllEntitiesin 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:
elementToNamein 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:
elementToIDin classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
getDescriptionMessage
protected String getDescriptionMessage()
- Specified by:
getDescriptionMessagein classSingleElementsRestrictionUI<ActionRepresentative,SingleActionRestriction<A extends org.palladiosimulator.pcm.seff.AbstractAction>,A extends org.palladiosimulator.pcm.seff.AbstractAction>
-
-