Class LightEObjectDescriptionLookUp

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

    public class LightEObjectDescriptionLookUp
    extends org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
    Lightweight implementation of the EObjectDescriptionLookUp.
    • Constructor Detail

      • LightEObjectDescriptionLookUp

        public LightEObjectDescriptionLookUp​(List<org.eclipse.xtext.resource.IEObjectDescription> allDescriptions)
    • Method Detail

      • getExportedObjects

        public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjects()
        Specified by:
        getExportedObjects in interface org.eclipse.xtext.resource.ISelectable
        Overrides:
        getExportedObjects in class org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
      • getExportedObjects

        public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjects​(org.eclipse.emf.ecore.EClass type,
                                                                                           org.eclipse.xtext.naming.QualifiedName name,
                                                                                           boolean ignoreCase)
        Specified by:
        getExportedObjects in interface org.eclipse.xtext.resource.ISelectable
        Overrides:
        getExportedObjects in class org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
      • getExportedObjectsByObject

        public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjectsByObject​(org.eclipse.emf.ecore.EObject object)
        Specified by:
        getExportedObjectsByObject in interface org.eclipse.xtext.resource.ISelectable
        Overrides:
        getExportedObjectsByObject in class org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
      • getExportedObjectsByType

        public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjectsByType​(org.eclipse.emf.ecore.EClass type)
        Specified by:
        getExportedObjectsByType in interface org.eclipse.xtext.resource.ISelectable
        Overrides:
        getExportedObjectsByType in class org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.eclipse.xtext.resource.ISelectable
        Overrides:
        isEmpty in class org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
      • setExportedObjects

        public void setExportedObjects​(List<org.eclipse.xtext.resource.IEObjectDescription> allDescriptions)
        Overrides:
        setExportedObjects in class org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
      • getNameToObjects

        protected Map<org.eclipse.xtext.naming.QualifiedName,​List<org.eclipse.xtext.resource.IEObjectDescription>> getNameToObjects()
        Overrides:
        getNameToObjects in class org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
      • putIntoMap

        protected void putIntoMap​(Map<org.eclipse.xtext.naming.QualifiedName,​List<org.eclipse.xtext.resource.IEObjectDescription>> nameToObjects,
                                  org.eclipse.xtext.resource.IEObjectDescription description)
        Overrides:
        putIntoMap in class org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp