Package at.bestsolution.efxclipse.tooling.fxgraph.fXGraph

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.ValueProperty


  }
 
  public CharSequence generateMapValueProperty(final Property p) {
    StringConcatenation _builder = new StringConcatenation();
    CastHelper _castHelper = new CastHelper();
    ValueProperty _value = p.getValue();
    final MapValueProperty list = _castHelper.castToMapValueProperty(_value);
    _builder.newLineIfNotEmpty();
    String _name = p.getName();
    _builder.append(_name, "");
    _builder.append(" : [");
    _builder.newLineIfNotEmpty();
    Boolean comma = Boolean.valueOf(false);
    _builder.newLineIfNotEmpty();
    {
      EList<Property> _properties = list.getProperties();
      for(final Property inner : _properties) {
        _builder.append("\t");
        {
          if ((comma).booleanValue()) {
            _builder.append(",");
          }
        }
        {
          boolean _or = false;
          String _name_1 = inner.getName();
          boolean _equals = "Integer".equals(_name_1);
          if (_equals) {
            _or = true;
          } else {
            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(")");
          }
View Full Code Here


  }
 
  public CharSequence generateListValueProperty(final Property p) {
    StringConcatenation _builder = new StringConcatenation();
    CastHelper _castHelper = new CastHelper();
    ValueProperty _value = p.getValue();
    final ListValueProperty list = _castHelper.castToListValueProperty(_value);
    _builder.newLineIfNotEmpty();
    String _name = p.getName();
    _builder.append(_name, "");
    _builder.append(" : [");
View Full Code Here

        _builder.append(_name_2, "");
        _builder.append(" : ");
      }
    }
    CastHelper _castHelper = new CastHelper();
    ValueProperty _value = p.getValue();
    Element _castToElement = _castHelper.castToElement(_value);
    CharSequence _generateElement = this.generateElement(_castToElement);
    _builder.append(_generateElement, "");
    return _builder;
  }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetValue(ValueProperty newValue, NotificationChain msgs)
  {
    ValueProperty oldValue = value;
    value = newValue;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FXGraphPackage.PROPERTY__VALUE, oldValue, newValue);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetValue(ValueProperty newValue, NotificationChain msgs)
  {
    ValueProperty oldValue = value;
    value = newValue;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FXGraphPackage.STATIC_CALL_VALUE_PROPERTY__VALUE, oldValue, newValue);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetValue(ValueProperty newValue, NotificationChain msgs)
  {
    ValueProperty oldValue = value;
    value = newValue;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FXGraphPackage.STATIC_VALUE_PROPERTY__VALUE, oldValue, newValue);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.ValueProperty

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.