Search in sources :

Example 1 with CollectionIteratorAction

use of org.palladiosimulator.pcm.seff.CollectionIteratorAction in project Palladio-Editors-Sirius by PalladioSimulator.

the class AddCollectionIteratorAction method execute.

@Override
public void execute(Collection<? extends EObject> selections, Map<String, Object> parameters) {
    CollectionIteratorAction action = (CollectionIteratorAction) parameters.get("instance");
    ResourceDemandingBehaviour resourceDemandingBehaviour = (ResourceDemandingBehaviour) parameters.get("resourceDemandingBehaviour");
    ServiceEffectSpecification seff = SEFFUtil.getEnclosingSEFF(resourceDemandingBehaviour);
    Parameter parameter = getParameter(action, seff);
    action.setParameter_CollectionIteratorAction(parameter);
}
Also used : ResourceDemandingBehaviour(org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour) CollectionIteratorAction(org.palladiosimulator.pcm.seff.CollectionIteratorAction) Parameter(org.palladiosimulator.pcm.repository.Parameter) ServiceEffectSpecification(org.palladiosimulator.pcm.seff.ServiceEffectSpecification)

Aggregations

Parameter (org.palladiosimulator.pcm.repository.Parameter)1 CollectionIteratorAction (org.palladiosimulator.pcm.seff.CollectionIteratorAction)1 ResourceDemandingBehaviour (org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour)1 ServiceEffectSpecification (org.palladiosimulator.pcm.seff.ServiceEffectSpecification)1