use of org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall in project Palladio-Editors-Sirius by PalladioSimulator.
the class EntryLevelSystemCallDialog method execute.
@Override
public void execute(Collection<? extends EObject> selections, Map<String, Object> parameters) {
EntryLevelSystemCall element = (EntryLevelSystemCall) parameters.get("instance");
OperationProvidedRole oldRole = element.getProvidedRole_EntryLevelSystemCall();
OperationProvidedRole role = getOperationProvidedRole(element);
if (role != null) {
element.setProvidedRole_EntryLevelSystemCall(role);
OperationSignature signature = getOperationSignature(element);
if (signature != null) {
element.setOperationSignature__EntryLevelSystemCall(signature);
} else {
element.setProvidedRole_EntryLevelSystemCall(oldRole);
}
}
}
Aggregations