Examples of eContainer()


Examples of at.bestsolution.efxclipse.tooling.css.cssext.cssExtDsl.PackageDefinition.eContainer()

  }
 
  public String calcPackagename(final PackageDefinition p) {
    String rv = p.getName();
    PackageDefinition parent = p;
    EObject _eContainer = parent.eContainer();
    boolean _while = (_eContainer instanceof PackageDefinition);
    while (_while) {
      {
        EObject _eContainer_1 = parent.eContainer();
        parent = ((PackageDefinition) _eContainer_1);
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.BindValueProperty.eContainer()

 
  @Override
  public void completeBindValueProperty_Attribute(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
    BindValueProperty b = (BindValueProperty) model;
    if (b.getElementReference() != null && b.getElementReference().getType() != null) {
      Property property = (Property) b.eContainer();
      Element targetClass = (Element) property.eContainer();
      Element element = b.getElementReference();
     
      try {
        IJavaProject javaProject = projectProvider.getJavaProject(element.eResource().getResourceSet());
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.ListValueProperty.eContainer()

      // If at least one char is already typed
      listProp = (ListValueProperty) m.eContainer();
    }
   
    if( listProp != null ) {
      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());
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.Property.eContainer()

      prop = (Property) model.eContainer();
    } else {
      return;
    }
   
    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());
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.ReferenceValueProperty.eContainer()

            try {
              IType defType = javaProject.findType(element.getType().getQualifiedName());
              ReferenceValueProperty rp = (ReferenceValueProperty) model;
             
              IType targetType = null;
              if( rp.eContainer() instanceof Property ) {
                Property p = (Property) rp.eContainer();
                if( p.eContainer() instanceof Element ) {
                  Element e = (Element) p.eContainer();
                  IType ownerType = javaProject.findType(e.getType().getQualifiedName());
                  IFXClass ownerClass = FXPlugin.getClassmodel().findClass(javaProject, ownerType);
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.SimpleValueProperty.eContainer()

            }
          }
        }
      } else if( object instanceof SimpleValueProperty ) {
        SimpleValueProperty sp = (SimpleValueProperty) object;
        if( sp.eContainer() instanceof Property && sp.getStringValue() != null ) {
          Property p = (Property) sp.eContainer();
         
          if( p.eContainer() instanceof Element ) {
            Element e = (Element) p.eContainer();
            if( e.getType() != null ) {
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.StaticCallValueProperty.eContainer()

        }
      }
    } else if( object instanceof StaticValueProperty ) {
      StaticValueProperty sp = (StaticValueProperty) object;
     
      EObject eo = sp.eContainer();
      Element target = null;
     
      while( eo.eContainer() != null ) {
        if( eo.eContainer() instanceof Element ) {
          target = (Element) eo.eContainer();
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.fxgraph.fXGraph.StaticValueProperty.eContainer()

      staticProperty = (StaticValueProperty) model.eContainer();
    } else {
      staticProperty = (StaticValueProperty) model;
    }
   
    EObject eo = staticProperty.eContainer();
    Element target = null;
   
    while( eo.eContainer() != null ) {
      if( eo.eContainer() instanceof Element ) {
        target = (Element) eo.eContainer();
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.rrobot.model.task.Folder.eContainer()

        while( folder != null ) {
          if( b.length() > 0 ) {
            b.insert(0, "/");
          }
          b.insert(0, folder.getName());
          if( folder.eContainer() instanceof Folder ) {
            folder = (Folder) folder.eContainer();
          } else {
            break;
          }
        }
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.rrobot.model.task.Resource.eContainer()

    String rv = r.getName();
    if ((r instanceof Folder)) {
      String _plus = (rv + "/");
      rv = _plus;
    }
    EObject _eContainer = res.eContainer();
    boolean _while = (_eContainer instanceof Resource);
    while (_while) {
      {
        EObject _eContainer_1 = res.eContainer();
        res = ((Resource) _eContainer_1);
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.