Search in sources :

Example 1 with EmitEventAction

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

the class AddEmitEventAction method execute.

@Override
public void execute(Collection<? extends EObject> selections, Map<String, Object> parameters) {
    EmitEventAction emitEventAction = (EmitEventAction) parameters.get("instance");
    EventType eventType = getEventType(emitEventAction);
    emitEventAction.setEventType__EmitEventAction(eventType);
}
Also used : EventType(org.palladiosimulator.pcm.repository.EventType) EmitEventAction(org.palladiosimulator.pcm.seff.EmitEventAction)

Aggregations

EventType (org.palladiosimulator.pcm.repository.EventType)1 EmitEventAction (org.palladiosimulator.pcm.seff.EmitEventAction)1