use of org.eclipse.gemoc.gexpressions.GExpression in project gemoc-studio by eclipse.
the class GNavigationExpressionImpl method basicSetBody.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetBody(GExpression newBody, NotificationChain msgs) {
GExpression oldBody = body;
body = newBody;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GexpressionsPackage.GNAVIGATION_EXPRESSION__BODY, oldBody, newBody);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.gemoc.gexpressions.GExpression in project gemoc-studio by eclipse.
the class GBinaryOperatorExpressionImpl method basicSetRightOperand.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetRightOperand(GExpression newRightOperand, NotificationChain msgs) {
GExpression oldRightOperand = rightOperand;
rightOperand = newRightOperand;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GexpressionsPackage.GBINARY_OPERATOR_EXPRESSION__RIGHT_OPERAND, oldRightOperand, newRightOperand);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.gemoc.gexpressions.GExpression in project gemoc-studio by eclipse.
the class GBinaryOperatorExpressionImpl method basicSetLeftOperand.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetLeftOperand(GExpression newLeftOperand, NotificationChain msgs) {
GExpression oldLeftOperand = leftOperand;
leftOperand = newLeftOperand;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GexpressionsPackage.GBINARY_OPERATOR_EXPRESSION__LEFT_OPERAND, oldLeftOperand, newLeftOperand);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.gemoc.gexpressions.GExpression in project gemoc-studio by eclipse.
the class GBraceExpressionImpl method basicSetInnerExpression.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetInnerExpression(GExpression newInnerExpression, NotificationChain msgs) {
GExpression oldInnerExpression = innerExpression;
innerExpression = newInnerExpression;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GexpressionsPackage.GBRACE_EXPRESSION__INNER_EXPRESSION, oldInnerExpression, newInnerExpression);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.gemoc.gexpressions.GExpression in project gemoc-studio by eclipse.
the class GIfExpressionImpl method basicSetCondition.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCondition(GExpression newCondition, NotificationChain msgs) {
GExpression oldCondition = condition;
condition = newCondition;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GexpressionsPackage.GIF_EXPRESSION__CONDITION, oldCondition, newCondition);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations