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);
}
Aggregations