Search in sources :

Example 1 with GlobalScopeExpression

use of com.avaloq.tools.ddk.xtext.scope.scope.GlobalScopeExpression in project dsl-devkit by dsldevkit.

the class ScopeDelegationImpl method basicSetExternal.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetExternal(GlobalScopeExpression newExternal, NotificationChain msgs) {
    GlobalScopeExpression oldExternal = external;
    external = newExternal;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ScopePackage.SCOPE_DELEGATION__EXTERNAL, oldExternal, newExternal);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : GlobalScopeExpression(com.avaloq.tools.ddk.xtext.scope.scope.GlobalScopeExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

GlobalScopeExpression (com.avaloq.tools.ddk.xtext.scope.scope.GlobalScopeExpression)1 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1