Class LightDefaultGlobalScopeProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.scoping.IGlobalScopeProvider
    Direct Known Subclasses:
    PlatformAwareGlobalScopeProvider

    public class LightDefaultGlobalScopeProvider
    extends org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider
    Lightweight implementation of the scope provider.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.xtext.scoping.IScope createContainerScope​(org.eclipse.xtext.scoping.IScope parent, org.eclipse.xtext.resource.IContainer container, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)  
      protected org.eclipse.xtext.scoping.IScope createContainerScopeWithContext​(org.eclipse.emf.ecore.resource.Resource eResource, org.eclipse.xtext.scoping.IScope parent, org.eclipse.xtext.resource.IContainer container, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase)  
      protected String getCacheKey​(String base, org.eclipse.emf.ecore.resource.ResourceSet context)  
      protected org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.resource.Resource context, boolean ignoreCase, org.eclipse.emf.ecore.EClass type, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)  
      protected org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.xtext.scoping.IScope parent, org.eclipse.emf.ecore.resource.Resource context, boolean ignoreCase, org.eclipse.emf.ecore.EClass type, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)  
      protected List<org.eclipse.xtext.resource.IContainer> getVisibleContainers​(org.eclipse.emf.ecore.resource.Resource resource)  
      • Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider

        getResourceDescriptions, getScope, getScope, isIgnoreCase, setCaseInsensitivityHelper, setResourceDescriptionsProvider
    • Constructor Detail

      • LightDefaultGlobalScopeProvider

        public LightDefaultGlobalScopeProvider()
    • Method Detail

      • getScope

        protected org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.xtext.scoping.IScope parent,
                                                            org.eclipse.emf.ecore.resource.Resource context,
                                                            boolean ignoreCase,
                                                            org.eclipse.emf.ecore.EClass type,
                                                            com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
      • getScope

        protected org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.resource.Resource context,
                                                            boolean ignoreCase,
                                                            org.eclipse.emf.ecore.EClass type,
                                                            com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
        Overrides:
        getScope in class org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider
      • getVisibleContainers

        protected List<org.eclipse.xtext.resource.IContainer> getVisibleContainers​(org.eclipse.emf.ecore.resource.Resource resource)
      • getCacheKey

        protected String getCacheKey​(String base,
                                     org.eclipse.emf.ecore.resource.ResourceSet context)
      • createContainerScopeWithContext

        protected org.eclipse.xtext.scoping.IScope createContainerScopeWithContext​(org.eclipse.emf.ecore.resource.Resource eResource,
                                                                                   org.eclipse.xtext.scoping.IScope parent,
                                                                                   org.eclipse.xtext.resource.IContainer container,
                                                                                   com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter,
                                                                                   org.eclipse.emf.ecore.EClass type,
                                                                                   boolean ignoreCase)
      • createContainerScope

        protected org.eclipse.xtext.scoping.IScope createContainerScope​(org.eclipse.xtext.scoping.IScope parent,
                                                                        org.eclipse.xtext.resource.IContainer container,
                                                                        com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter,
                                                                        org.eclipse.emf.ecore.EClass type,
                                                                        boolean ignoreCase)