Search in sources :

Example 6 with UIComponentMemberDeclaration

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

the class ApplauseDslScopeProvider method _membersScope.

private IScope _membersScope(final UIComponentDeclaration type) {
    EList<UIComponentMemberDeclaration> _members = type.getMembers();
    IScope _scopeFor = Scopes.scopeFor(_members);
    return _scopeFor;
}
Also used : IScope(org.eclipse.xtext.scoping.IScope) UIComponentMemberDeclaration(org.applause.lang.applauseDsl.UIComponentMemberDeclaration)

Example 7 with UIComponentMemberDeclaration

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

the class UIComponentMemberCallImpl method setComponent.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public void setComponent(UIComponentMemberDeclaration newComponent) {
    UIComponentMemberDeclaration oldComponent = component;
    component = newComponent;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.UI_COMPONENT_MEMBER_CALL__COMPONENT, oldComponent, component));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) UIComponentMemberDeclaration(org.applause.lang.applauseDsl.UIComponentMemberDeclaration)

Aggregations

UIComponentMemberDeclaration (org.applause.lang.applauseDsl.UIComponentMemberDeclaration)7 UIComponentMemberCall (org.applause.lang.applauseDsl.UIComponentMemberCall)3 UIComponentMemberConfiguration (org.applause.lang.applauseDsl.UIComponentMemberConfiguration)2 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)2 IScope (org.eclipse.xtext.scoping.IScope)2 Function1 (org.eclipse.xtext.xbase.lib.Functions.Function1)2 Expression (org.applause.lang.applauseDsl.Expression)1 ListItemCellDeclaration (org.applause.lang.applauseDsl.ListItemCellDeclaration)1 StringConcatenation (org.eclipse.xtend2.lib.StringConcatenation)1