Package at.bestsolution.efxclipse.tooling.fxgraph.converter

Examples of at.bestsolution.efxclipse.tooling.fxgraph.converter.ValuePropertyFormatter


              } else {
                {
                  if ((e instanceof SimpleValueProperty)) {
                  }
                }
                ValuePropertyFormatter _valuePropertyFormatter = new ValuePropertyFormatter(e);
                String _formattedValue = _valuePropertyFormatter.getFormattedValue();
                _builder.append(_formattedValue, "");
              }
            }
            _builder.newLineIfNotEmpty();
            final Boolean nix = comma = Boolean.valueOf(true);
            _builder.newLineIfNotEmpty();
          }
        }
        _builder.append("}");
      } else {
        _builder.newLineIfNotEmpty();
        JvmTypeReference _type_1 = element.getType();
        String _simpleName_1 = _type_1.getSimpleName();
        _builder.append(_simpleName_1, "");
        {
          SimpleValueProperty _value = element.getValue();
          boolean _notEquals_1 = (!Objects.equal(_value, null));
          if (_notEquals_1) {
            _builder.append(" ( ");
            SimpleValueProperty _value_1 = element.getValue();
            String _stringValue = _value_1.getStringValue();
            _builder.append(_stringValue, "");
            _builder.append(" )");
          }
        }
        {
          String _name = element.getName();
          boolean _notEquals_2 = (!Objects.equal(_name, null));
          if (_notEquals_2) {
            _builder.append(" id ");
            String _name_1 = element.getName();
            _builder.append(_name_1, "");
          }
        }
        {
          boolean _elementHasSubEntries = this.elementHasSubEntries(element);
          if (_elementHasSubEntries) {
            _builder.append(" {");
            _builder.newLineIfNotEmpty();
            Boolean comma_1 = Boolean.valueOf(false);
            _builder.newLineIfNotEmpty();
            {
              EList<Property> _properties = element.getProperties();
              for(final Property p : _properties) {
                {
                  if ((comma_1).booleanValue()) {
                    _builder.append(",");
                  }
                }
                {
                  ValueProperty _value_2 = p.getValue();
                  if ((_value_2 instanceof Element)) {
                    CharSequence _generatePropertyElement = this.generatePropertyElement(p);
                    _builder.append(_generatePropertyElement, "");
                  } else {
                    {
                      ValueProperty _value_3 = p.getValue();
                      if ((_value_3 instanceof ListValueProperty)) {
                        CharSequence _generateListValueProperty = this.generateListValueProperty(p);
                        _builder.append(_generateListValueProperty, "");
                      } else {
                        {
                          ValueProperty _value_4 = p.getValue();
                          if ((_value_4 instanceof MapValueProperty)) {
                            CharSequence _generateMapValueProperty = this.generateMapValueProperty(p);
                            _builder.append(_generateMapValueProperty, "");
                          } else {
                            ValuePropertyFormatter _valuePropertyFormatter_1 = new ValuePropertyFormatter(p);
                            String _formattedValue_1 = _valuePropertyFormatter_1.getFormattedValue();
                            _builder.append(_formattedValue_1, "");
                          }
                        }
                      }
                    }
                  }
                }
                _builder.newLineIfNotEmpty();
                final Boolean nix_1 = comma_1 = Boolean.valueOf(true);
                _builder.newLineIfNotEmpty();
              }
            }
            {
              EList<StaticValueProperty> _staticProperties = element.getStaticProperties();
              for(final StaticValueProperty p_1 : _staticProperties) {
                {
                  if ((comma_1).booleanValue()) {
                    _builder.append(",");
                  }
                }
                ValuePropertyFormatter _valuePropertyFormatter_2 = new ValuePropertyFormatter(p_1);
                String _formattedValue_2 = _valuePropertyFormatter_2.getFormattedValue();
                _builder.append(_formattedValue_2, "");
                _builder.newLineIfNotEmpty();
                final Boolean nix_2 = comma_1 = Boolean.valueOf(true);
                _builder.newLineIfNotEmpty();
              }
            }
            {
              EList<StaticCallValueProperty> _staticCallProperties = element.getStaticCallProperties();
              for(final StaticCallValueProperty p_2 : _staticCallProperties) {
                {
                  if ((comma_1).booleanValue()) {
                    _builder.append(",");
                  }
                }
                ValuePropertyFormatter _valuePropertyFormatter_3 = new ValuePropertyFormatter(p_2);
                String _formattedValue_3 = _valuePropertyFormatter_3.getFormattedValue();
                _builder.append(_formattedValue_3, "");
                _builder.newLineIfNotEmpty();
                final Boolean nix_3 = comma_1 = Boolean.valueOf(true);
                _builder.newLineIfNotEmpty();
              }
View Full Code Here


            String _name_2 = inner.getName();
            boolean _equals_1 = "Double".equals(_name_2);
            _or = (_equals || _equals_1);
          }
          if (_or) {
            ValuePropertyFormatter _valuePropertyFormatter = new ValuePropertyFormatter(inner);
            String _formattedValue = _valuePropertyFormatter.getFormattedValue();
            _builder.append(_formattedValue, "  ");
          } else {
            String _name_3 = inner.getName();
            _builder.append(_name_3, "  ");
            _builder.append("(");
            ValueProperty _value_1 = inner.getValue();
            ValuePropertyFormatter _valuePropertyFormatter_1 = new ValuePropertyFormatter(_value_1);
            String _formattedValue_1 = _valuePropertyFormatter_1.getFormattedValue();
            _builder.append(_formattedValue_1, "  ");
            _builder.append(")");
          }
        }
        _builder.newLineIfNotEmpty();
View Full Code Here

            CastHelper _castHelper_1 = new CastHelper();
            Element _castToElement = _castHelper_1.castToElement(e);
            CharSequence _generateElement = this.generateElement(_castToElement);
            _builder.append(_generateElement, "");
          } else {
            ValuePropertyFormatter _valuePropertyFormatter = new ValuePropertyFormatter(e);
            String _formattedValue = _valuePropertyFormatter.getFormattedValue();
            _builder.append(_formattedValue, "");
          }
        }
        _builder.newLineIfNotEmpty();
        final Boolean nix = comma = Boolean.valueOf(true);
View Full Code Here

                _builder.append(_generateElement, "");
                _builder.newLineIfNotEmpty();
              } else {
                {
                  if ((e instanceof SimpleValueProperty)) {
                    ValuePropertyFormatter _valuePropertyFormatter = new ValuePropertyFormatter(e);
                    String _formattedValue = _valuePropertyFormatter.getFormattedValue();
                    _builder.append(_formattedValue, "");
                  }
                }
                _builder.newLineIfNotEmpty();
              }
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.tooling.fxgraph.converter.ValuePropertyFormatter

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.