Search in sources :

Example 6 with ScreenSectionItems

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

the class ScreenSectionImpl method basicSetItems.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetItems(ScreenSectionItems newItems, NotificationChain msgs) {
    ScreenSectionItems oldItems = items;
    items = newItems;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.SCREEN_SECTION__ITEMS, oldItems, newItems);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) ScreenSectionItems(org.applause.lang.applauseDsl.ScreenSectionItems)

Aggregations

ScreenSectionItems (org.applause.lang.applauseDsl.ScreenSectionItems)6 ScreenListItemCell (org.applause.lang.applauseDsl.ScreenListItemCell)5 ScreenSection (org.applause.lang.applauseDsl.ScreenSection)5 EList (org.eclipse.emf.common.util.EList)5 Function1 (org.eclipse.xtext.xbase.lib.Functions.Function1)5 UIComponentMemberConfiguration (org.applause.lang.applauseDsl.UIComponentMemberConfiguration)2 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1