Search in sources :

Example 6 with BindingElement

use of org.eclipse.n4js.n4JS.BindingElement in project n4js by eclipse.

the class BindingPropertyImpl method basicSetValue.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetValue(BindingElement newValue, NotificationChain msgs) {
    BindingElement oldValue = value;
    value = newValue;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.BINDING_PROPERTY__VALUE, oldValue, newValue);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : BindingElement(org.eclipse.n4js.n4JS.BindingElement) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

BindingElement (org.eclipse.n4js.n4JS.BindingElement)6 AdditiveExpression (org.eclipse.n4js.n4JS.AdditiveExpression)2 AssignmentExpression (org.eclipse.n4js.n4JS.AssignmentExpression)2 AwaitExpression (org.eclipse.n4js.n4JS.AwaitExpression)2 BinaryBitwiseExpression (org.eclipse.n4js.n4JS.BinaryBitwiseExpression)2 BinaryLogicalExpression (org.eclipse.n4js.n4JS.BinaryLogicalExpression)2 CastExpression (org.eclipse.n4js.n4JS.CastExpression)2 CommaExpression (org.eclipse.n4js.n4JS.CommaExpression)2 ConditionalExpression (org.eclipse.n4js.n4JS.ConditionalExpression)2 EqualityExpression (org.eclipse.n4js.n4JS.EqualityExpression)2 ForStatement (org.eclipse.n4js.n4JS.ForStatement)2 FunctionExpression (org.eclipse.n4js.n4JS.FunctionExpression)2 IndexedAccessExpression (org.eclipse.n4js.n4JS.IndexedAccessExpression)2 MultiplicativeExpression (org.eclipse.n4js.n4JS.MultiplicativeExpression)2 N4ClassExpression (org.eclipse.n4js.n4JS.N4ClassExpression)2 NewExpression (org.eclipse.n4js.n4JS.NewExpression)2 ParameterizedCallExpression (org.eclipse.n4js.n4JS.ParameterizedCallExpression)2 ParameterizedPropertyAccessExpression (org.eclipse.n4js.n4JS.ParameterizedPropertyAccessExpression)2 ParenExpression (org.eclipse.n4js.n4JS.ParenExpression)2 PostfixExpression (org.eclipse.n4js.n4JS.PostfixExpression)2