Class XdtoResourceDescriptionStrategy

  • All Implemented Interfaces:
    org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy

    public class XdtoResourceDescriptionStrategy
    extends org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
    Implementation of DefaultResourceDescriptionStrategy for SDTO Package
    • Constructor Detail

      • XdtoResourceDescriptionStrategy

        public XdtoResourceDescriptionStrategy()
    • Method Detail

      • createEObjectDescriptions

        public boolean createEObjectDescriptions​(org.eclipse.emf.ecore.EObject eObject,
                                                 org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
        Specified by:
        createEObjectDescriptions in interface org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
        Overrides:
        createEObjectDescriptions in class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
      • createReferenceDescriptions

        public boolean createReferenceDescriptions​(org.eclipse.emf.ecore.EObject from,
                                                   org.eclipse.emf.common.util.URI exportedContainerURI,
                                                   org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> acceptor)
        Specified by:
        createReferenceDescriptions in interface org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
        Overrides:
        createReferenceDescriptions in class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
      • createPropertyDescriptions

        protected void createPropertyDescriptions​(List<Property> properties,
                                                  String nsUri,
                                                  org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
        Creates indexing elements for Property
        Parameters:
        properties - collection of Property, can't be null
        nsUri - actual target uri of the Package, can't be null
        acceptor - actual IAcceptor, can't be null
      • createValueTypeDescriptions

        protected void createValueTypeDescriptions​(List<ValueType> types,
                                                   String nsUri,
                                                   org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
        Creates indexing elements for ValueType
        Parameters:
        types - collection of ValueType, can't be null
        nsUri - actual target uri of the Package, can't be null
        acceptor - actual IAcceptor, can't be null
      • createObjectTypeDescriptions

        protected void createObjectTypeDescriptions​(List<ObjectType> objects,
                                                    String nsUri,
                                                    org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
        Creates indexing elements for ObjectType
        Parameters:
        objects - collection of ObjectType, can't be null
        nsUri - actual target uri of the Package, can't be null
        acceptor - actual IAcceptor, can't be null
      • createPackageDescription

        protected void createPackageDescription​(Package xdtoPackage,
                                                org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
        Creates indexing element for xdtoPackage
        Parameters:
        xdtoPackage - actual xdtoPackage, can't be null
        acceptor - actual IAcceptor, can't be null