Examples of eContents()


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

    _builder.newLine();
    _builder.newLine();
    {
      EList<EObject> _contents = resource.getContents();
      EObject _get = _contents.get(0);
      EList<EObject> _eContents = _get.eContents();
      Iterable<ComponentDefinition> _filter = Iterables.<ComponentDefinition>filter(_eContents, ComponentDefinition.class);
      for(final ComponentDefinition rootElement : _filter) {
        final CharSequence body = this.componentDefinition(rootElement, importManager, languageManager, preview, skipController, skipIncludes);
        _builder.newLineIfNotEmpty();
        _builder.append("<?import java.lang.*?>");
 
View Full Code Here

Examples of org.eclipse.emf.ecore.xml.type.XMLTypeDocumentRoot.eContents()

    {
      EObject eObject = contents.get(0);
      if (eObject instanceof XMLTypeDocumentRoot)
      {
        XMLTypeDocumentRoot documentRoot = (XMLTypeDocumentRoot)eObject;
        EList<EObject> rootContents = documentRoot.eContents();
        String rootElementName = null;
        String rootElementNamespace = null;
        if (!rootContents.isEmpty())
        {
          EObject root = rootContents.get(0);
View Full Code Here

Examples of org.eclipse.emf.ecore.xml.type.XMLTypeDocumentRoot.eContents()

      {
        EObject eObject = contents.get(0);
        if (eObject instanceof XMLTypeDocumentRoot)
        {
          XMLTypeDocumentRoot documentRoot = (XMLTypeDocumentRoot)eObject;
          EList<EObject> rootContents = documentRoot.eContents();
          if (!rootContents.isEmpty())
          {
            EObject root = rootContents.get(0);
            if (root instanceof AnyType)
            {
View Full Code Here

Examples of org.eclipse.xsd.impl.XSDParticleImpl.eContents()

                    attType.getName().equals("MaritalStatusType") ||
                    attType.getName().equals("boolean"));
        }
        XSDComplexTypeContent content = complexPersonType.getContent();
        XSDParticleImpl particle1 = (XSDParticleImpl) content;
        EList contents = particle1.eContents();
        XSDParticleContent particleContent = particle1.getContent();
        assertNotNull(particleContent);
        for (int i = 0; i < contents.size(); i++) {
            XSDModelGroupImpl modelGroup = (XSDModelGroupImpl) contents.get(i);
            EList elements = modelGroup.getContents();
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.AbstractSection.eContents()

        if (_equals) {
          return "0";
        } else {
          String _localId = this.getLocalId(parent);
          String _plus = (_localId + "_");
          EList<EObject> _eContents = parent.eContents();
          int _indexOf = _eContents.indexOf(identifiable);
          return (_plus + Integer.valueOf(_indexOf));
        }
      }
    }
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.