Search in sources :

Example 1 with AcquireAction

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

the class AddAcquireAction method execute.

@Override
public void execute(Collection<? extends EObject> selections, Map<String, Object> parameters) {
    AcquireAction acquireAction = (AcquireAction) parameters.get("instance");
    PassiveResource passiveResource = getPassiveResource(acquireAction);
    acquireAction.setPassiveresource_AcquireAction(passiveResource);
}
Also used : AcquireAction(org.palladiosimulator.pcm.seff.AcquireAction) PassiveResource(org.palladiosimulator.pcm.repository.PassiveResource)

Aggregations

PassiveResource (org.palladiosimulator.pcm.repository.PassiveResource)1 AcquireAction (org.palladiosimulator.pcm.seff.AcquireAction)1