Class EventHandlersGlobalScopeProvider
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider
-
- com._1c.g5.modeling.xtext.scoping.LightDefaultGlobalScopeProvider
-
- com._1c.g5.v8.dt.platform.scoping.PlatformAwareGlobalScopeProvider
-
- com._1c.g5.v8.dt.eventhandlers.scoping.EventHandlersGlobalScopeProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IGlobalScopeProvider
public class EventHandlersGlobalScopeProvider extends PlatformAwareGlobalScopeProvider
Global scope provider for event handlers plugin.
-
-
Constructor Summary
Constructors Constructor Description EventHandlersGlobalScopeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.xtext.scoping.IScope
getDefaultGlobalScope(org.eclipse.xtext.scoping.IScope parent, org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
Returns a default global scope for the given parent scope and the given context.-
Methods inherited from class com._1c.g5.v8.dt.platform.scoping.PlatformAwareGlobalScopeProvider
createContainerScope, getDefaultGlobalScope, getDefaultGlobalScope, getPlatformScope, getScope, setPlatformScopeProvider
-
Methods inherited from class com._1c.g5.modeling.xtext.scoping.LightDefaultGlobalScopeProvider
createContainerScopeWithContext, getCacheKey, getScope, getScope, getVisibleContainers
-
-
-
-
Method Detail
-
getDefaultGlobalScope
protected org.eclipse.xtext.scoping.IScope getDefaultGlobalScope(org.eclipse.xtext.scoping.IScope parent, org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
Description copied from class:PlatformAwareGlobalScopeProvider
Returns a default global scope for the given parent scope and the given context.- Overrides:
getDefaultGlobalScope
in classPlatformAwareGlobalScopeProvider
- Parameters:
parent
- the parent scoperesource
- the resource from which the global scope is looked at.reference
- the reference for which to construct a global scope.filter
- a filter used to filter down the elements contained in each scope. Scopes will only contain elements for which the filter returnedtrue
.- Returns:
- the resulting default global scope. Can't be
null
.
-
-