Interface IPlatformScopeProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EClass type, boolean ignoreCase, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, Version version)
      Returns a corresponding version of platform scope for the given context.
      org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, Version version)
      Returns a corresponding version of platform scope for the given context.
    • Method Detail

      • getScope

        org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EReference reference,
                                                  com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter,
                                                  Version version)
        Returns a corresponding version of platform scope for the given context.
        Parameters:
        reference - the reference for which to construct a platform scope. Can't be null.
        filter - a filter used to filter elements in the platform scope. May be null.
        version - runtime version of platform scope, can't be null
        Returns:
        the resulting platform scope. Can't be null.
      • getScope

        org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EClass type,
                                                  boolean ignoreCase,
                                                  com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter,
                                                  Version version)
        Returns a corresponding version of platform scope for the given context.
        Parameters:
        type - type of elements collecting into the resulting scope.
        ignoreCase - if true the resulting scope ia case-insensitive.
        filter - a filter used to filter elements in the platform scope. May be null.
        version - runtime version of platform scope, can't be null
        Returns:
        the resulting platform scope. Can't be null.