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

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.Element.eResource()


        }

        el = (Element) model.eContainer();
      }

      IJavaProject javaProject = projectProvider.getJavaProject(el.eResource().getResourceSet());
      IType type = javaProject.findType(el.getType().getQualifiedName());

      if (type != null) {
        IFXClass fxClazz = FXPlugin.getClassmodel().findClass(javaProject, type);
        if (fxClazz != null) {
View Full Code Here


   
    if (prop.eContainer() instanceof Element) {
      Element el = (Element) prop.eContainer();

      try {
        IJavaProject javaProject = projectProvider.getJavaProject(el.eResource().getResourceSet());
        IType type = javaProject.findType(el.getType().getQualifiedName());

        if (type != null) {
          IFXClass fxClazz = FXPlugin.getClassmodel().findClass(javaProject, type);
          IFXProperty fxProp = fxClazz.getProperty(prop.getName());
View Full Code Here

      Property property = (Property) b.eContainer();
      Element targetClass = (Element) property.eContainer();
      Element element = b.getElementReference();
     
      try {
        IJavaProject javaProject = projectProvider.getJavaProject(element.eResource().getResourceSet());
        IType sourceType = javaProject.findType(element.getType().getQualifiedName());
        IType targetType = javaProject.findType(targetClass.getType().getQualifiedName());
       
        IFXClass fxSourceClazz = FXPlugin.getClassmodel().findClass(javaProject, sourceType);
        IFXClass fxTargetClass = FXPlugin.getClassmodel().findClass(javaProject, targetType);
View Full Code Here

      if( listProp.eContainer() instanceof Property ) {
        Property property = (Property) listProp.eContainer();
        if( property.eContainer() instanceof Element ) {
          try {
            Element element = (Element) property.eContainer();
            IJavaProject javaProject = projectProvider.getJavaProject(element.eResource().getResourceSet());
            IType ownerType = javaProject.findType(element.getType().getQualifiedName());
            IFXClass fxOwnerClazz = FXPlugin.getClassmodel().findClass(javaProject, ownerType);
            IFXProperty ownerProperty = fxOwnerClazz.getProperty(property.getName());
           
            if (ownerProperty instanceof IFXCollectionProperty) {
View Full Code Here

          if( model.eContainer() instanceof Property ) {
            Property property = (Property) model.eContainer();
            if( property.eContainer() instanceof Element ) {
              try {
                Element element = (Element) property.eContainer();
                IJavaProject javaProject = projectProvider.getJavaProject(element.eResource().getResourceSet());
                IType ownerType = javaProject.findType(element.getType().getQualifiedName());
                IFXClass fxOwnerClazz = FXPlugin.getClassmodel().findClass(javaProject, ownerType);
                IFXProperty ownerProperty = fxOwnerClazz.getProperty(property.getName());
               
                if( ownerProperty instanceof IFXEventHandlerProperty ) {
View Full Code Here

          boolean includeType = false;
          if( element == null ) {
            element = d.getIncludeElement().getSource().getRootNode();
            includeType = true;
          }
            IJavaProject javaProject = projectProvider.getJavaProject(element.eResource().getResourceSet());
            try {
              IType defType = javaProject.findType(element.getType().getQualifiedName());
              ReferenceValueProperty rp = (ReferenceValueProperty) model;
             
              IType targetType = null;
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.