Search in sources :

Example 11 with DataSourceCall

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

the class ScreenSectionImpl method basicSetDatasource.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetDatasource(DataSourceCall newDatasource, NotificationChain msgs) {
    DataSourceCall oldDatasource = datasource;
    datasource = newDatasource;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.SCREEN_SECTION__DATASOURCE, oldDatasource, newDatasource);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : DataSourceCall(org.applause.lang.applauseDsl.DataSourceCall) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

DataSourceCall (org.applause.lang.applauseDsl.DataSourceCall)11 DataSource (org.applause.lang.applauseDsl.DataSource)7 DataSourceAccessMethod (org.applause.lang.applauseDsl.DataSourceAccessMethod)5 Entity (org.applause.lang.applauseDsl.Entity)3 RESTSpecification (org.applause.lang.applauseDsl.RESTSpecification)3 RESTVerb (org.applause.lang.applauseDsl.RESTVerb)3 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)3 Function1 (org.eclipse.xtext.xbase.lib.Functions.Function1)3 Screen (org.applause.lang.applauseDsl.Screen)2 Model (org.applause.lang.applauseDsl.Model)1 NamedElement (org.applause.lang.applauseDsl.NamedElement)1 UIComponentMemberConfiguration (org.applause.lang.applauseDsl.UIComponentMemberConfiguration)1 StringConcatenation (org.eclipse.xtend2.lib.StringConcatenation)1 IScope (org.eclipse.xtext.scoping.IScope)1