Examples of UIComponentMemberDeclaration


Examples of org.applause.lang.applauseDsl.UIComponentMemberDeclaration

 
  public CharSequence compileConfiguration(final UIComponentMemberConfiguration it) {
    StringConcatenation _builder = new StringConcatenation();
    _builder.append("cell.");
    UIComponentMemberCall _type = it.getType();
    UIComponentMemberDeclaration _component = _type.getComponent();
    String _name = _component.getName();
    _builder.append(_name, "");
    _builder.append(".");
    UIComponentMemberCall _type_1 = it.getType();
    UIComponentMemberDeclaration _member = _type_1.getMember();
    String _name_1 = _member.getName();
    _builder.append(_name_1, "");
    _builder.append(" = item.");
    Expression _value = it.getValue();
    String _evaluateExpression = this._expressionExtensions.evaluateExpression(_value);
    _builder.append(_evaluateExpression, "");
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIComponentMemberDeclaration

  public UIComponentMemberConfiguration labelConfig(final ScreenListItemCell it) {
    EList<UIComponentMemberConfiguration> _configurations = it.getConfigurations();
    final Function1<UIComponentMemberConfiguration,Boolean> _function = new Function1<UIComponentMemberConfiguration,Boolean>() {
      public Boolean apply(final UIComponentMemberConfiguration it) {
        UIComponentMemberCall _type = it.getType();
        UIComponentMemberDeclaration _component = _type.getComponent();
        String _name = _component.getName();
        boolean _equals = Objects.equal(_name, "label");
        return Boolean.valueOf(_equals);
      }
    };
    UIComponentMemberConfiguration _findFirst = IterableExtensions.<UIComponentMemberConfiguration>findFirst(_configurations, _function);
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIComponentMemberDeclaration

  public UIComponentMemberConfiguration detailsConfig(final ScreenListItemCell it) {
    EList<UIComponentMemberConfiguration> _configurations = it.getConfigurations();
    final Function1<UIComponentMemberConfiguration,Boolean> _function = new Function1<UIComponentMemberConfiguration,Boolean>() {
      public Boolean apply(final UIComponentMemberConfiguration it) {
        UIComponentMemberCall _type = it.getType();
        UIComponentMemberDeclaration _component = _type.getComponent();
        String _name = _component.getName();
        boolean _equals = Objects.equal(_name, "details");
        return Boolean.valueOf(_equals);
      }
    };
    UIComponentMemberConfiguration _findFirst = IterableExtensions.<UIComponentMemberConfiguration>findFirst(_configurations, _function);
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIComponentMemberDeclaration

   * <!-- 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));
  }
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIComponentMemberDeclaration

   * <!-- end-user-doc -->
   * @generated
   */
  public void setMember(UIComponentMemberDeclaration newMember)
  {
    UIComponentMemberDeclaration oldMember = member;
    member = newMember;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, ApplauseDslPackage.UI_COMPONENT_MEMBER_CALL__MEMBER, oldMember, member));
  }
View Full Code Here

Examples of org.applause.lang.applauseDsl.UIComponentMemberDeclaration

  }
 
  public Object scope_UIComponentMemberCall_member(final UIComponentMemberCall ctx, final EReference ref) {
    Object _xblockexpression = null;
    {
      UIComponentMemberDeclaration _component = ctx.getComponent();
      final UIComponentOrDataType type = _component.getType();
      Object _membersScope = this.membersScope(type);
      _xblockexpression = (_membersScope);
    }
    return _xblockexpression;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.