use of com.avaloq.tools.ddk.xtext.expression.expression.Expression in project dsl-devkit by dsldevkit.
the class FactoryExpressionImpl method basicSetExpr.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetExpr(Expression newExpr, NotificationChain msgs) {
Expression oldExpr = expr;
expr = newExpr;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ScopePackage.FACTORY_EXPRESSION__EXPR, oldExpr, newExpr);
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 ScopeContextImpl method basicSetGuard.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetGuard(Expression newGuard, NotificationChain msgs) {
Expression oldGuard = guard;
guard = newGuard;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ScopePackage.SCOPE_CONTEXT__GUARD, oldGuard, newGuard);
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 DataExpressionImpl method basicSetValue.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetValue(Expression newValue, NotificationChain msgs) {
Expression oldValue = value;
value = newValue;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ScopePackage.DATA_EXPRESSION__VALUE, oldValue, newValue);
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 DeclarationForTypeImpl method basicSetGuard.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetGuard(Expression newGuard, NotificationChain msgs) {
Expression oldGuard = guard;
guard = newGuard;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExportPackage.DECLARATION_FOR_TYPE__GUARD, oldGuard, newGuard);
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 ExportImpl method basicSetNaming.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetNaming(Expression newNaming, NotificationChain msgs) {
Expression oldNaming = naming;
naming = newNaming;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExportPackage.EXPORT__NAMING, oldNaming, newNaming);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations