public class FeatureScopeTracker extends java.lang.Object implements IFeatureScopeTracker
IFeatureScopeTracker
that really does
tracking. It's usually only necessary to use this implementation in an interactive
editor environment where content assist is used.IFeatureScopeTracker.Provider
NULL
Modifier | Constructor and Description |
---|---|
protected |
FeatureScopeTracker() |
Modifier and Type | Method and Description |
---|---|
void |
addExpressionScope(ResolvedTypes current,
org.eclipse.emf.ecore.EObject context,
IFeatureScopeSession session,
IExpressionScope.Anchor anchor)
Stores the given information about the current scope.
|
IExpressionScope |
getExpressionScope(org.eclipse.emf.ecore.EObject context,
IExpressionScope.Anchor anchor) |
boolean |
hasExpressionScope(org.eclipse.emf.ecore.EObject context,
IExpressionScope.Anchor anchor) |
void |
replacePreviousExpressionScope(org.eclipse.emf.ecore.EObject context,
IFeatureScopeSession session,
IExpressionScope.Anchor anchor)
Replace previously recorded information about the current scope.
|
public IExpressionScope getExpressionScope(org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor)
getExpressionScope
in interface IFeatureScopeTracker
IResolvedTypes#getExpressionScope(EObject, Anchor)
public boolean hasExpressionScope(org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor)
hasExpressionScope
in interface IFeatureScopeTracker
IResolvedTypes#hasExpressionScope(EObject, Anchor)
public void addExpressionScope(ResolvedTypes current, org.eclipse.emf.ecore.EObject context, IFeatureScopeSession session, IExpressionScope.Anchor anchor)
IFeatureScopeTracker
addExpressionScope
in interface IFeatureScopeTracker
public void replacePreviousExpressionScope(org.eclipse.emf.ecore.EObject context, IFeatureScopeSession session, IExpressionScope.Anchor anchor)
IFeatureScopeTracker
replacePreviousExpressionScope
in interface IFeatureScopeTracker