Interface IProjectGlobalScopeProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.core.resources.IProject project, org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
      Deprecated.
      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,
                                                  com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
        Deprecated.
        Returns a global scope for the given IProject context.
        Parameters:
        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
        Returns:
        IScope representing the inner most IScope for the passed project and reference. The result cannot be null, return IScope.NULLSCOPE instead.