Package at.bestsolution.efxclipse.tooling.model

Examples of at.bestsolution.efxclipse.tooling.model.IFXClass


public class FXClassmodel implements IFXClassmodel {
  private Map<String, FXClass> fxClassCache = new HashMap<String, FXClass>();
  private Map<String, FXCtrlClass> fxCtrlClassCache = new HashMap<String, FXCtrlClass>();
 
  public IFXClass findClass(IJavaProject javaProject, IType type) {
    IFXClass rv = fxClassCache.get(type.getFullyQualifiedName());
   
    if( rv == null ) {
      FXClass c = new FXClass(javaProject, type);
      fxClassCache.put(c.getFQN(), c);
      rv = c;
View Full Code Here


        Property propertyModel = (Property) element.eContainer();
        Element elementModel = (Element)propertyModel.eContainer();
        IType elType = javaProject.findType(elementModel.getType().getQualifiedName());
       
        IFXCtrlClass fxCtrlClazz = FXPlugin.getClassmodel().findCtrlClass(javaProject, ctrlType);
        IFXClass fxElClass = FXPlugin.getClassmodel().findClass(javaProject, elType);
       
        IFXProperty fxProp = fxElClass.getAllProperties().get(propertyModel.getName());
       
        if( !(fxProp instanceof IFXEventHandlerProperty) ) {
          error("Property is not an event property", propertyModel, FXGraphPackage.Literals.PROPERTY__NAME, -1);
          return;
        }
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.tooling.model.IFXClass

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.