Search in sources :

Example 1 with ReleaseAction

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

the class AddReleaseAction method execute.

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

Aggregations

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