Package at.bestsolution.efxclipse.tooling.efxbean.fXBean

Examples of at.bestsolution.efxclipse.tooling.efxbean.fXBean.Multiplicity


   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetMulti(Multiplicity newMulti, NotificationChain msgs)
  {
    Multiplicity oldMulti = multi;
    multi = newMulti;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FXBeanPackage.VALUE_LIST_TYPE_DEF__MULTI, oldMulti, newMulti);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here


        {
          TypeDef _type = p.getType();
          if ((_type instanceof ValueListTypeDef)) {
            {
              ValueListTypeDef _valDef = this.valDef(p);
              Multiplicity _multi = _valDef.getMulti();
              boolean _notEquals = (!Objects.equal(_multi, null));
              if (_notEquals) {
                _builder.append("\t");
                _builder.append("public static final EFXListProperty<");
                Bean _bean_2 = u.getBean();
View Full Code Here

        String _name_5 = _property_9.getName();
        String _camelCase = this.camelCase(_name_5);
        _builder.append(_camelCase, "");
        _builder.append("(");
        {
          Multiplicity _multi = p.getMulti();
          boolean _notEquals = (!Objects.equal(_multi, null));
          if (_notEquals) {
            _builder.append("ObservableList<");
          }
        }
        JvmTypeReference _singleType = p.getSingleType();
        String _shortName = this.shortName(_singleType);
        _builder.append(_shortName, "");
        {
          Multiplicity _multi_1 = p.getMulti();
          boolean _notEquals_1 = (!Objects.equal(_multi_1, null));
          if (_notEquals_1) {
            _builder.append(">");
          }
        }
        _builder.append(" ");
        BeanPropertyDecl _property_10 = this.property(p);
        String _name_6 = _property_10.getName();
        _builder.append(_name_6, "");
        _builder.append(") {");
        _builder.newLineIfNotEmpty();
        _builder.append("\t");
        _builder.append("this.");
        BeanPropertyDecl _property_11 = this.property(p);
        String _name_7 = _property_11.getName();
        _builder.append(_name_7, "  ");
        _builder.append("Property().set(");
        BeanPropertyDecl _property_12 = this.property(p);
        String _name_8 = _property_12.getName();
        _builder.append(_name_8, "  ");
        _builder.append(");");
        _builder.newLineIfNotEmpty();
        _builder.append("}");
        _builder.newLine();
      }
    }
    _builder.newLine();
    _builder.append("public ");
    {
      Multiplicity _multi_2 = p.getMulti();
      boolean _notEquals_2 = (!Objects.equal(_multi_2, null));
      if (_notEquals_2) {
        _builder.append("ObservableList<");
      }
    }
    JvmTypeReference _singleType_1 = p.getSingleType();
    String _shortName_1 = this.shortName(_singleType_1);
    _builder.append(_shortName_1, "");
    {
      Multiplicity _multi_3 = p.getMulti();
      boolean _notEquals_3 = (!Objects.equal(_multi_3, null));
      if (_notEquals_3) {
        _builder.append(">");
      }
    }
View Full Code Here

    StringConcatenation _builder = new StringConcatenation();
    return _builder;
  }
 
  protected String _propertyCreate(final ValueListTypeDef p) {
    Multiplicity _multi = p.getMulti();
    boolean _equals = Objects.equal(_multi, null);
    if (_equals) {
      String _propertyDefinition = this.propertyDefinition(p);
      String _plus = ("new " + _propertyDefinition);
      String _plus_1 = (_plus + "(this,\"");
View Full Code Here

    String _plus_2 = (_plus_1 + _valueType);
    return (_plus_2 + ">)FXCollections.observableHashMap()");
  }
 
  protected String _defaultValue(final ValueListTypeDef p) {
    Multiplicity _multi = p.getMulti();
    boolean _equals = Objects.equal(_multi, null);
    if (_equals) {
      JvmTypeReference _singleType = p.getSingleType();
      String _qualifiedName = _singleType.getQualifiedName();
      final String _switchValue = _qualifiedName;
View Full Code Here

    BeanPropertyDecl _property = this.property(t);
    boolean _isReadonly = _property.isReadonly();
    if (_isReadonly) {
      ro = "ReadOnly";
    }
    Multiplicity _multi = t.getMulti();
    boolean _notEquals = (!Objects.equal(_multi, null));
    if (_notEquals) {
      String _plus = (ro + "ObjectProperty<ObservableList<");
      JvmTypeReference _singleType = t.getSingleType();
      String _shortName = this.shortName(_singleType);
View Full Code Here

    String _plus_2 = (_plus_1 + _shortName_1);
    return (_plus_2 + ">>");
  }
 
  protected String _propertyDefinition(final ValueListTypeDef t) {
    Multiplicity _multi = t.getMulti();
    boolean _equals = Objects.equal(_multi, null);
    if (_equals) {
      JvmTypeReference _singleType = t.getSingleType();
      String _qualifiedName = _singleType.getQualifiedName();
      final String _switchValue = _qualifiedName;
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.tooling.efxbean.fXBean.Multiplicity

Copyright © 2018 www.massapicom. 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.