public class EMFModelComprehension
extends java.lang.Object
Constructor and Description |
---|
EMFModelComprehension(BaseIndexOptions options)
Creates a model comprehension with the specified options.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLoading(org.eclipse.emf.ecore.resource.Resource resource)
Finds out whether the Resource is currently loading
|
boolean |
onlySamplingFeature(org.eclipse.emf.ecore.EStructuralFeature feature)
Decides whether a feature can only be sampled as there is no guarantee that proper notifications will be
delivered by their implementation.
|
boolean |
representable(org.eclipse.emf.ecore.EStructuralFeature feature)
This feature can be represented in IQBase.
|
void |
traverseFeature(EMFVisitor visitor,
org.eclipse.emf.ecore.EObject source,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.Object target,
java.lang.Integer position) |
void |
traverseModel(EMFVisitor visitor,
org.eclipse.emf.common.notify.Notifier source)
Resource filters not consulted here (for performance), because model roots are assumed to be pre-filtered.
|
void |
traverseObject(EMFVisitor visitor,
org.eclipse.emf.ecore.EObject source) |
void |
traverseObjectIfUnfiltered(EMFVisitor visitor,
org.eclipse.emf.ecore.EObject targetObject) |
void |
traverseResource(EMFVisitor visitor,
org.eclipse.emf.ecore.resource.Resource source) |
void |
traverseResourceIfUnfiltered(EMFVisitor visitor,
org.eclipse.emf.ecore.resource.Resource resource) |
void |
traverseResourceSet(EMFVisitor visitor,
org.eclipse.emf.ecore.resource.ResourceSet source) |
void |
tryResolveReference(org.eclipse.emf.ecore.EObject source,
org.eclipse.emf.ecore.EReference reference)
Can be called to attempt to resolve a reference pointing to one or more proxies, using eGet().
|
boolean |
untraversableDirectly(org.eclipse.emf.ecore.EStructuralFeature feature)
Should not traverse this feature directly.
|
public EMFModelComprehension(BaseIndexOptions options)
public boolean untraversableDirectly(org.eclipse.emf.ecore.EStructuralFeature feature)
representable(EStructuralFeature)
is true.public boolean onlySamplingFeature(org.eclipse.emf.ecore.EStructuralFeature feature)
public boolean representable(org.eclipse.emf.ecore.EStructuralFeature feature)
public void traverseModel(EMFVisitor visitor, org.eclipse.emf.common.notify.Notifier source)
public void traverseResourceSet(EMFVisitor visitor, org.eclipse.emf.ecore.resource.ResourceSet source)
public void traverseResourceIfUnfiltered(EMFVisitor visitor, org.eclipse.emf.ecore.resource.Resource resource)
public void traverseResource(EMFVisitor visitor, org.eclipse.emf.ecore.resource.Resource source)
public void traverseObjectIfUnfiltered(EMFVisitor visitor, org.eclipse.emf.ecore.EObject targetObject)
public void traverseObject(EMFVisitor visitor, org.eclipse.emf.ecore.EObject source)
public void traverseFeature(EMFVisitor visitor, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object target, java.lang.Integer position)
position
- optional: known position in multivalued collection (for more efficient proxy resolution)public void tryResolveReference(org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EReference reference)
public boolean isLoading(org.eclipse.emf.ecore.resource.Resource resource)