Search in sources :

Example 6 with Expression

use of org.applause.lang.applauseDsl.Expression in project applause by applause.

the class UIComponentMemberConfigurationImpl 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, ApplauseDslPackage.UI_COMPONENT_MEMBER_CONFIGURATION__VALUE, oldValue, newValue);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Expression(org.applause.lang.applauseDsl.Expression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

Expression (org.applause.lang.applauseDsl.Expression)6 UIComponentMemberConfiguration (org.applause.lang.applauseDsl.UIComponentMemberConfiguration)4 StringConcatenation (org.eclipse.xtend2.lib.StringConcatenation)4 UIComponentMemberCall (org.applause.lang.applauseDsl.UIComponentMemberCall)1 UIComponentMemberDeclaration (org.applause.lang.applauseDsl.UIComponentMemberDeclaration)1 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1