Package com._1c.g5.v8.dt.xdto.scoping
Class XdtoPlatformScopeProvider
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider
-
- com._1c.g5.v8.dt.xdto.scoping.XdtoPlatformScopeProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IGlobalScopeProvider
public class XdtoPlatformScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider
Platform scope provider for XDTO
-
-
Constructor Summary
Constructors Constructor Description XdtoPlatformScopeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.xtext.scoping.IScope
getPlatformScope(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.org.eclipse.xtext.scoping.IScope
getScope(org.eclipse.emf.ecore.resource.Resource context, org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
-
-
-
Method Detail
-
getScope
public org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.resource.Resource context, org.eclipse.emf.ecore.EReference reference, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter)
- Specified by:
getScope
in interfaceorg.eclipse.xtext.scoping.IGlobalScopeProvider
- Overrides:
getScope
in classorg.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider
-
getPlatformScope
protected org.eclipse.xtext.scoping.IScope getPlatformScope(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 benull
.filter
- a filter used to filter elements in the platform scope. May benull
.version
- version of platform scope, can't benull
- Returns:
- the resulting platform scope. Can't be
null
.
-
-