Interface IProjectGlobalScopeProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.core.resources.IProject project, org.eclipse.emf.ecore.EReference reference,<org.eclipse.xtext.resource.IEObjectDescription> filter)
      Returns a global scope for the given IProject context.
    • Method Detail

      • getScope

        org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.core.resources.IProject project,
                                                  org.eclipse.emf.ecore.EReference reference,
                                        <org.eclipse.xtext.resource.IEObjectDescription> filter)
        Returns a global scope for the given IProject context.
        project - the IProject from which the global scope is looked at, cannot be null
        reference - the reference for which to construct a global scope, cannot be null
        filter - filter a filter used to filter down the elements contained in each scope. Scopes will only contain elements for which the filter returned true, can be null
        IScope representing the inner most IScope for the passed project and reference. The result cannot be null, return IScope.NULLSCOPE instead.