Class BmEmfIndexAwareWorkspaceResourceDescriptions

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

    public class BmEmfIndexAwareWorkspaceResourceDescriptions
    extends Object
    implements org.eclipse.xtext.resource.IResourceDescriptions
    Bm-based EMF index-aware IResourceDescriptions implementation which delegates all calls to the BM-backed index manager. This implementation accesses all projects in the workspace.
    • Constructor Detail

      • BmEmfIndexAwareWorkspaceResourceDescriptions

        public BmEmfIndexAwareWorkspaceResourceDescriptions()
        Creates a new instance of descriptions.
    • Method Detail

      • getAllResourceDescriptions

        public Iterable<org.eclipse.xtext.resource.IResourceDescription> getAllResourceDescriptions()
        Specified by:
        getAllResourceDescriptions in interface org.eclipse.xtext.resource.IResourceDescriptions
      • getExportedObjects

        public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjects()
        Specified by:
        getExportedObjects in interface org.eclipse.xtext.resource.ISelectable
      • 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
      • 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
      • 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
      • getResourceDescription

        public org.eclipse.xtext.resource.IResourceDescription getResourceDescription​(org.eclipse.emf.common.util.URI uri)
        }
        Specified by:
        getResourceDescription in interface org.eclipse.xtext.resource.IResourceDescriptions
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.eclipse.xtext.resource.ISelectable