use of com.avaloq.tools.ddk.xtext.expression.expression.Expression in project dsl-devkit by dsldevkit.
the class IfExpressionImpl method basicSetCondition.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) {
Expression oldCondition = condition;
condition = newCondition;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExpressionPackage.IF_EXPRESSION__CONDITION, oldCondition, newCondition);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of com.avaloq.tools.ddk.xtext.expression.expression.Expression in project dsl-devkit by dsldevkit.
the class LetExpressionImpl method basicSetTarget.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTarget(Expression newTarget, NotificationChain msgs) {
Expression oldTarget = target;
target = newTarget;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExpressionPackage.LET_EXPRESSION__TARGET, oldTarget, newTarget);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of com.avaloq.tools.ddk.xtext.expression.expression.Expression in project dsl-devkit by dsldevkit.
the class LetExpressionImpl method basicSetVarExpr.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetVarExpr(Expression newVarExpr, NotificationChain msgs) {
Expression oldVarExpr = varExpr;
varExpr = newVarExpr;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExpressionPackage.LET_EXPRESSION__VAR_EXPR, oldVarExpr, newVarExpr);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of com.avaloq.tools.ddk.xtext.expression.expression.Expression in project dsl-devkit by dsldevkit.
the class OperationCallImpl method basicSetTarget.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTarget(Expression newTarget, NotificationChain msgs) {
Expression oldTarget = target;
target = newTarget;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExpressionPackage.OPERATION_CALL__TARGET, oldTarget, newTarget);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of com.avaloq.tools.ddk.xtext.expression.expression.Expression in project dsl-devkit by dsldevkit.
the class FeatureCallImpl method basicSetTarget.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTarget(Expression newTarget, NotificationChain msgs) {
Expression oldTarget = target;
target = newTarget;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExpressionPackage.FEATURE_CALL__TARGET, oldTarget, newTarget);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations