Class OptimizingFeatureScopeTrackerProvider
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.OptimizingFeatureScopeTrackerProvider
-
- All Implemented Interfaces:
IFeatureScopeTracker.Provider
- Direct Known Subclasses:
BuilderAwareFeatureScopeTrackerProvider
public class OptimizingFeatureScopeTrackerProvider extends java.lang.Object implements IFeatureScopeTracker.Provider
An internal provider forfeature scope trackersthat disables the feature scope tracking for the builder's resource set, since feature scopes are not used there. For the editor it only installs them for the primary resource.
-
-
Constructor Summary
Constructors Constructor Description OptimizingFeatureScopeTrackerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisBuilderScope(java.util.Map<java.lang.Object,java.lang.Object> loadOptions)protected booleanisLiveScope(java.util.Map<java.lang.Object,java.lang.Object> loadOptions)protected booleanisPrimaryResource(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.ecore.resource.Resource resource)IFeatureScopeTrackertrack(org.eclipse.emf.ecore.EObject root)Provide a tracker for the given root object of a batch resolution.
-
-
-
Method Detail
-
track
public IFeatureScopeTracker track(org.eclipse.emf.ecore.EObject root)
Description copied from interface:IFeatureScopeTracker.ProviderProvide a tracker for the given root object of a batch resolution.- Specified by:
trackin interfaceIFeatureScopeTracker.Provider- Parameters:
root- the context information to deduce the right tracking logic from.
-
isLiveScope
protected boolean isLiveScope(java.util.Map<java.lang.Object,java.lang.Object> loadOptions)
-
isPrimaryResource
protected boolean isPrimaryResource(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.ecore.resource.Resource resource)
-
isBuilderScope
protected boolean isBuilderScope(java.util.Map<java.lang.Object,java.lang.Object> loadOptions)
-
-