public class DefaultOccurrenceComputer extends Object implements IOccurrenceComputer
| Modifier and Type | Field and Description |
|---|---|
static String |
DECLARATION_ANNOTATION_TYPE |
static String |
OCCURRENCE_ANNOTATION_TYPE |
| Constructor and Description |
|---|
DefaultOccurrenceComputer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOccurrenceAnnotation(String type,
org.eclipse.jface.text.IDocument document,
ITextRegion textRegion,
Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> annotationMap) |
protected boolean |
canBeReferencedLocally(org.eclipse.emf.ecore.EObject object) |
Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> |
createAnnotationMap(XtextEditor editor,
org.eclipse.jface.text.ITextSelection selection,
org.eclipse.core.runtime.SubMonitor monitor) |
protected Iterable<org.eclipse.emf.common.util.URI> |
getTargetURIs(org.eclipse.emf.ecore.EObject primaryTarget) |
boolean |
hasAnnotationType(String annotationType) |
public static final String OCCURRENCE_ANNOTATION_TYPE
public static final String DECLARATION_ANNOTATION_TYPE
protected void addOccurrenceAnnotation(String type, org.eclipse.jface.text.IDocument document, ITextRegion textRegion, Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> annotationMap)
public Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> createAnnotationMap(XtextEditor editor, org.eclipse.jface.text.ITextSelection selection, org.eclipse.core.runtime.SubMonitor monitor)
createAnnotationMap in interface IOccurrenceComputerprotected Iterable<org.eclipse.emf.common.util.URI> getTargetURIs(org.eclipse.emf.ecore.EObject primaryTarget)
protected boolean canBeReferencedLocally(org.eclipse.emf.ecore.EObject object)
public boolean hasAnnotationType(String annotationType)
hasAnnotationType in interface IOccurrenceComputerCopyright © 2016. All Rights Reserved.