Examples of CSSDefaultValue


Examples of at.bestsolution.efxclipse.tooling.css.cssext.cssExtDsl.CSSDefaultValue

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetDefault(CSSDefaultValue newDefault, NotificationChain msgs)
  {
    CSSDefaultValue oldDefault = default_;
    default_ = newDefault;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CssExtDslPackage.PROPERTY_DEFINITION__DEFAULT, oldDefault, newDefault);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.css.cssext.cssExtDsl.CSSDefaultValue

                _builder.append("\t");
                _builder.append("\t\t");
                _builder.append("\t\t\t\t");
                _builder.append("\t");
                _builder.append("<td>");
                CSSDefaultValue _default = ((PropertyDefinition) prop)==null?(CSSDefaultValue)null:((PropertyDefinition) prop).getDefault();
                String _calcDefault = _default==null?(String)null:this.calcDefault(_default);
                _builder.append(_calcDefault, "                ");
                _builder.append("</td>");
                _builder.newLineIfNotEmpty();
                _builder.append("\t");
                _builder.append("\t\t");
                _builder.append("\t\t\t\t");
                _builder.append("\t");
                _builder.append("<td>");
                Doku _doku_3 = prop==null?(Doku)null:prop.getDoku();
                String _content_2 = _doku_3==null?(String)null:_doku_3.getContent();
                String _fixJDoc_2 = _content_2==null?(String)null:this.fixJDoc(_content_2);
                _builder.append(_fixJDoc_2, "                ");
                _builder.append("</td>");
                _builder.newLineIfNotEmpty();
                _builder.append("\t");
                _builder.append("\t\t");
                _builder.append("\t\t\t\t");
                _builder.append("</tr>");
                _builder.newLine();
              }
            }
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t");
            _builder.append("</tbody>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t");
            _builder.append("</table>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t");
            _builder.append("</div>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("</div>");
            _builder.newLine();
          }
        }
        {
          HashSet<ElementDefinition> _allSuperElements = this.allSuperElements(e);
          boolean _isEmpty_2 = _allSuperElements.isEmpty();
          boolean _not_2 = (!_isEmpty_2);
          if (_not_2) {
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("<div class=\"accordion-group\">");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t");
            _builder.append("<div class=\"accordion-heading\">");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t");
            _builder.append("<a class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#ac_");
            String _calcPackagename_11 = this.calcPackagename(p);
            String _replace_7 = _calcPackagename_11.replace(".", "_");
            String _plus_18 = (_replace_7 + "_");
            String _name_13 = e.getName();
            String _plus_19 = (_plus_18 + _name_13);
            _builder.append(_plus_19, "          ");
            _builder.append("\" href=\"#props_");
            String _calcPackagename_12 = this.calcPackagename(p);
            String _replace_8 = _calcPackagename_12.replace(".", "_");
            String _plus_20 = (_replace_8 + "_");
            String _name_14 = e.getName();
            String _plus_21 = (_plus_20 + _name_14);
            _builder.append(_plus_21, "          ");
            _builder.append("_inherited\">");
            _builder.newLineIfNotEmpty();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t");
            _builder.append("Inherited Properties");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t");
            _builder.append("</a>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t");
            _builder.append("</div>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t");
            _builder.append("<div id=\"props_");
            String _calcPackagename_13 = this.calcPackagename(p);
            String _replace_9 = _calcPackagename_13.replace(".", "_");
            String _plus_22 = (_replace_9 + "_");
            String _name_15 = e.getName();
            String _plus_23 = (_plus_22 + _name_15);
            _builder.append(_plus_23, "        ");
            _builder.append("_inherited\" class=\"accordion-body collapse\">");
            _builder.newLineIfNotEmpty();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t");
            _builder.append("<table class=\"table table-bordered table-striped\">");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t");
            _builder.append("<thead>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t\t");
            _builder.append("<tr>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t\t\t");
            _builder.append("<th>Element</th>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t\t\t");
            _builder.append("<th>Property</th>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t\t\t");
            _builder.append("<th>Definition</th>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t\t\t");
            _builder.append("<th>Default</th>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t\t\t");
            _builder.append("<th>Description</th>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t\t");
            _builder.append("</tr>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t");
            _builder.append("</thead>");
            _builder.newLine();
            _builder.append("\t");
            _builder.append("\t\t");
            _builder.append("\t\t\t");
            _builder.append("<tbody>");
            _builder.newLine();
            {
              HashSet<ElementDefinition> _allSuperElements_1 = this.allSuperElements(e);
              for(final ElementDefinition su : _allSuperElements_1) {
                {
                  EList<Definition> _properties_2 = ((ElementDefinition) su).getProperties();
                  for(final Definition prop_1 : _properties_2) {
                    _builder.append("\t");
                    _builder.append("\t\t");
                    _builder.append("\t\t\t\t");
                    _builder.append("<tr>");
                    _builder.newLine();
                    _builder.append("\t");
                    _builder.append("\t\t");
                    _builder.append("\t\t\t\t");
                    _builder.append("\t");
                    _builder.append("<td>");
                    {
                      EList<Definition> _properties_3 = ((ElementDefinition) su).getProperties();
                      Definition _get = _properties_3.get(0);
                      boolean _equals = Objects.equal(_get, prop_1);
                      if (_equals) {
                        _builder.append("<nobr>");
                        String _name_16 = ((ElementDefinition) su).getName();
                        _builder.append(_name_16, "                ");
                        _builder.append("</nobr>");
                      }
                    }
                    _builder.append("</td>");
                    _builder.newLineIfNotEmpty();
                    _builder.append("\t");
                    _builder.append("\t\t");
                    _builder.append("\t\t\t\t");
                    _builder.append("\t");
                    _builder.append("<td><nobr>");
                    String _name_17 = prop_1.getName();
                    _builder.append(_name_17, "                ");
                    _builder.append("</nobr></td>");
                    _builder.newLineIfNotEmpty();
                    _builder.append("\t");
                    _builder.append("\t\t");
                    _builder.append("\t\t\t\t");
                    _builder.append("\t");
                    _builder.append("<td>");
                    CSSRule _rule_3 = prop_1.getRule();
                    String _translateRule_3 = this.translateRule(_rule_3);
                    _builder.append(_translateRule_3, "                ");
                    _builder.append("</td>");
                    _builder.newLineIfNotEmpty();
                    _builder.append("\t");
                    _builder.append("\t\t");
                    _builder.append("\t\t\t\t");
                    _builder.append("\t");
                    _builder.append("<td>");
                    CSSDefaultValue _default_1 = ((PropertyDefinition) prop_1)==null?(CSSDefaultValue)null:((PropertyDefinition) prop_1).getDefault();
                    String _calcDefault_1 = _default_1==null?(String)null:this.calcDefault(_default_1);
                    _builder.append(_calcDefault_1, "                ");
                    _builder.append("</td>");
                    _builder.newLineIfNotEmpty();
                    _builder.append("\t");
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.