Interface IV8GlobalScopeProvider

  • All Superinterfaces:
    org.eclipse.xtext.scoping.IGlobalScopeProvider, IProjectGlobalScopeProvider

    @Deprecated
    public interface IV8GlobalScopeProvider
    extends org.eclipse.xtext.scoping.IGlobalScopeProvider, IProjectGlobalScopeProvider
    Deprecated.
    Use IDtProjectGlobalScopeProvider instead to support all types of DT projects, including virtual ones
    Extension of IGlobalScopeProvider for EDT. Provides useful methods for getting IScope by EObject and getting IResourceDescriptions by Resource
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      org.eclipse.xtext.resource.IResourceDescriptions getResourceDescriptions​(org.eclipse.emf.ecore.resource.Resource resource)
      Deprecated.
      Provides the resource descriptions for the given Resource.
      org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
      Deprecated.
      Gets scope by context object
      • Methods inherited from interface org.eclipse.xtext.scoping.IGlobalScopeProvider

        getScope
    • Method Detail

      • getScope

        org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EObject context,
                                                  org.eclipse.emf.ecore.EReference reference,
                                                  com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
        Deprecated.
        Gets scope by context object
        Parameters:
        context - context EObject for computing relating IScope, cannot be null
        reference - EReference for computing EClass of the objects included to the IScope, cannot be null
        filter - filter item in resulting IScope, can be null if there is no filters
        Returns:
        IScope with indexing items for EDT, never null
      • getResourceDescriptions

        org.eclipse.xtext.resource.IResourceDescriptions getResourceDescriptions​(org.eclipse.emf.ecore.resource.Resource resource)
        Deprecated.
        Provides the resource descriptions for the given Resource.
        Parameters:
        resource - the resource that is currently used, cannot be null
        Returns:
        the IResourceDescriptions according to the usage context, never null