use of org.yakindu.sct.model.sexec.Step in project statecharts by Yakindu.
the class ExecutionStateImpl method basicSetExitAction.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetExitAction(Step newExitAction, NotificationChain msgs) {
Step oldExitAction = exitAction;
exitAction = newExitAction;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SexecPackage.EXECUTION_STATE__EXIT_ACTION, oldExitAction, newExitAction);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.yakindu.sct.model.sexec.Step in project statecharts by Yakindu.
the class ExecutionStateImpl method basicSetEntryAction.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetEntryAction(Step newEntryAction, NotificationChain msgs) {
Step oldEntryAction = entryAction;
entryAction = newEntryAction;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SexecPackage.EXECUTION_STATE__ENTRY_ACTION, oldEntryAction, newEntryAction);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.yakindu.sct.model.sexec.Step in project statecharts by Yakindu.
the class HistoryEntryImpl method basicSetInitialStep.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetInitialStep(Step newInitialStep, NotificationChain msgs) {
Step oldInitialStep = initialStep;
initialStep = newInitialStep;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SexecPackage.HISTORY_ENTRY__INITIAL_STEP, oldInitialStep, newInitialStep);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.yakindu.sct.model.sexec.Step in project statecharts by Yakindu.
the class IfImpl method basicSetThenStep.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetThenStep(Step newThenStep, NotificationChain msgs) {
Step oldThenStep = thenStep;
thenStep = newThenStep;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SexecPackage.IF__THEN_STEP, oldThenStep, newThenStep);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.yakindu.sct.model.sexec.Step in project statecharts by Yakindu.
the class IfImpl method basicSetElseStep.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetElseStep(Step newElseStep, NotificationChain msgs) {
Step oldElseStep = elseStep;
elseStep = newElseStep;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SexecPackage.IF__ELSE_STEP, oldElseStep, newElseStep);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations