use of org.yakindu.sct.model.sgraph.Trigger in project statecharts by Yakindu.
the class TransitionImpl method basicSetTrigger.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTrigger(Trigger newTrigger, NotificationChain msgs) {
Trigger oldTrigger = trigger;
trigger = newTrigger;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SGraphPackage.TRANSITION__TRIGGER, oldTrigger, newTrigger);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations