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

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


        _builder.append(_name_1, "");
        _builder.append("\"");
      }
    }
    _builder.append(" source=\"/");
    ComponentDefinition _source = includeElement.getSource();
    String _fullyQualifiedName = this.fullyQualifiedName(_source);
    String _replaceAll = _fullyQualifiedName.replaceAll("\\.", "/");
    _builder.append(_replaceAll, "");
    _builder.append(".fxml\"");
    EList<StaticValueProperty> _staticProperties = includeElement.getStaticProperties();
View Full Code Here


            .createPackageDeclaration();
        pack.setName(packName);
        model.setPackage(pack);
      }

      ComponentDefinition compDef = FXGraphFactory.eINSTANCE
          .createComponentDefinition();

      String name = fxmlFile.getName();
      if (name.toLowerCase().endsWith(".fxml")) {
        name = name.substring(0, name.length() - 5);
      }
      compDef.setName(name);

      model.setComponentDef(compDef);
    }
View Full Code Here

          String propertyQName = attributes.getQName(i);
          String value = attributes.getValue(i);
          if ("fx:id".equals(propertyQName)) {
            p.setName(value);
          } else if ("source".equals(propertyQName)) {
            ComponentDefinition cd = FXGraphFactory.eINSTANCE
                .createComponentDefinition();
            cd.setName(value);
            p.setSource(cd);
          }
        }
      } else if ("fx:script".equals(qName)) {
        for (int i = 0; i < attributes.getLength(); i++) {
View Full Code Here

    EList<Import> _imports = model.getImports();
    CharSequence _generateImports = this.generateImports(_imports);
    _builder.append(_generateImports, "");
    _builder.newLineIfNotEmpty();
    _builder.newLine();
    ComponentDefinition _componentDef = model.getComponentDef();
    CharSequence _generateComponentDefinition = this.generateComponentDefinition(_componentDef);
    _builder.append(_generateComponentDefinition, "");
    _builder.newLineIfNotEmpty();
    return _builder;
  }
View Full Code Here

    CharSequence _generateResourceBundle = this.generateResourceBundle(_previewResourceBundle);
    _builder.append(_generateResourceBundle, "");
    EList<String> _previewClasspathEntries = cd.getPreviewClasspathEntries();
    CharSequence _generateExtraClassPath = this.generateExtraClassPath(_previewClasspathEntries);
    _builder.append(_generateExtraClassPath, "");
    ComponentDefinition _sceneDefinition = cd.getSceneDefinition();
    CharSequence _generateSceneSetup = this.generateSceneSetup(_sceneDefinition);
    _builder.append(_generateSceneSetup, "");
    _builder.append(" {");
    _builder.newLineIfNotEmpty();
    {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public void setSource(ComponentDefinition newSource)
  {
    ComponentDefinition oldSource = source;
    source = newSource;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FXGraphPackage.INCLUDE_VALUE_PROPERTY__SOURCE, oldSource, source));
  }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public void setSceneDefinition(ComponentDefinition newSceneDefinition)
  {
    ComponentDefinition oldSceneDefinition = sceneDefinition;
    sceneDefinition = newSceneDefinition;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, FXGraphPackage.COMPONENT_DEFINITION__SCENE_DEFINITION, oldSceneDefinition, sceneDefinition));
  }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetComponentDef(ComponentDefinition newComponentDef, NotificationChain msgs)
  {
    ComponentDefinition oldComponentDef = componentDef;
    componentDef = newComponentDef;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FXGraphPackage.MODEL__COMPONENT_DEF, oldComponentDef, newComponentDef);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

TOP

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

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.