Search in sources :

Example 1 with ResourceCall

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

the class SetResourceCallSignature method execute.

@Override
public void execute(final Collection<? extends EObject> selections, final Map<String, Object> parameters) {
    ResourceCall call = (ResourceCall) parameters.get("instance");
    ResourceSignature sig = getSignature(call);
    call.setSignature__ResourceCall(sig);
}
Also used : ResourceSignature(org.palladiosimulator.pcm.resourcetype.ResourceSignature) ResourceCall(org.palladiosimulator.pcm.seff.seff_performance.ResourceCall)

Example 2 with ResourceCall

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

the class SetResourceCallRequiredRole method execute.

@Override
public void execute(final Collection<? extends EObject> selections, final Map<String, Object> parameters) {
    ResourceCall call = (ResourceCall) parameters.get("instance");
    ResourceRequiredRole requiredRole = getSignature(call);
    call.setResourceRequiredRole__ResourceCall(requiredRole);
}
Also used : ResourceCall(org.palladiosimulator.pcm.seff.seff_performance.ResourceCall) ResourceRequiredRole(org.palladiosimulator.pcm.core.entity.ResourceRequiredRole)

Aggregations

ResourceCall (org.palladiosimulator.pcm.seff.seff_performance.ResourceCall)2 ResourceRequiredRole (org.palladiosimulator.pcm.core.entity.ResourceRequiredRole)1 ResourceSignature (org.palladiosimulator.pcm.resourcetype.ResourceSignature)1