Package org.eclipse.emf.ecore

Examples of org.eclipse.emf.ecore.EObject.eContainer()


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


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

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

      while( eo.eContainer() != null ) {
        if( eo.eContainer() instanceof Element ) {
          target = (Element) eo.eContainer();
          break;
        }
        eo = eo.eContainer();
      }
         
      if( target != null ) {
        if( target.getType() != null ) {
          IType t = getJDTType(target.getType().getType());
View Full Code Here

    String name = d.getName();
    EObject c = d.eContainer();
    while (c != null && c instanceof PackageDefinition) {
      PackageDefinition cur = (PackageDefinition) c;
      name = cur.getName() + "." + name;
      c = c.eContainer();
    }
    return name;
  }
 
  protected void _createChildren(DocumentRootNode parentNode, CssExtension ext) {
View Full Code Here

    String name = modelElement.getName();
    EObject cur = modelElement.eContainer();
    while(cur != null && cur instanceof PackageDefinition) {
      PackageDefinition curDef = (PackageDefinition) cur;
      name = curDef.getName() + "." + name;
      cur = cur.eContainer();
    }
   
    return name;
  }
 
View Full Code Here

     
     
      EObject o = el;
      el = null;
     
      while( o.eContainer() != null ) {
        if( o.eContainer() instanceof Element ) {
          el = (Element) o.eContainer();
          break;
        }
        if( o.eContainer() instanceof MapValueProperty ) {
View Full Code Here

     
      EObject o = el;
      el = null;
     
      while( o.eContainer() != null ) {
        if( o.eContainer() instanceof Element ) {
          el = (Element) o.eContainer();
          break;
        }
        if( o.eContainer() instanceof MapValueProperty ) {
          el = null;
View Full Code Here

      EObject o = el;
      el = null;
     
      while( o.eContainer() != null ) {
        if( o.eContainer() instanceof Element ) {
          el = (Element) o.eContainer();
          break;
        }
        if( o.eContainer() instanceof MapValueProperty ) {
          el = null;
          break;
View Full Code Here

      while( o.eContainer() != null ) {
        if( o.eContainer() instanceof Element ) {
          el = (Element) o.eContainer();
          break;
        }
        if( o.eContainer() instanceof MapValueProperty ) {
          el = null;
          break;
        }
        o = o.eContainer();
      }
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.