public abstract class AbstractRegionAccess extends java.lang.Object implements ITextRegionAccess, ITextRegionExtensions
| Constructor and Description |
|---|
AbstractRegionAccess() |
| Modifier and Type | Method and Description |
|---|---|
ISemanticRegionsFinder |
allRegionsFor(org.eclipse.emf.ecore.EObject object) |
java.lang.Iterable<ISemanticRegion> |
allSemanticRegions(org.eclipse.emf.ecore.EObject object) |
ITextRegionExtensions |
getExtensions() |
TextRegionRewriter |
getRewriter() |
protected abstract java.lang.String |
getText() |
ITextRegionAccess |
getTextRegionAccess() |
org.eclipse.emf.ecore.EObject |
grammarElement(org.eclipse.emf.ecore.EObject obj) |
ISemanticRegionFinder |
immediatelyFollowing(org.eclipse.emf.ecore.EObject owner) |
ISemanticRegionFinder |
immediatelyPreceding(org.eclipse.emf.ecore.EObject owner) |
protected java.util.Map<? extends org.eclipse.emf.ecore.EObject,? extends AbstractEObjectRegion> |
initMap() |
boolean |
isMultiline(org.eclipse.emf.ecore.EObject object) |
IHiddenRegion |
nextHiddenRegion(org.eclipse.emf.ecore.EObject owner) |
IHiddenRegion |
previousHiddenRegion(org.eclipse.emf.ecore.EObject owner) |
ISemanticRegionsFinder |
regionFor(org.eclipse.emf.ecore.EObject object) |
abstract AbstractEObjectRegion |
regionForEObject(org.eclipse.emf.ecore.EObject object)
Returns a the text region for a semantic element (i.e.
|
ILineRegion |
regionForLineAtOffset(int offset) |
ITextSegment |
regionForOffset(int offset,
int length) |
java.lang.Iterable<ISemanticRegion> |
semanticRegions(org.eclipse.emf.ecore.EObject object) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResource, hasSyntaxError, regionForDocument, regionForRootEObject, textForOffsetpublic ITextRegionExtensions getExtensions()
getExtensions in interface ITextRegionAccesspublic java.lang.Iterable<ISemanticRegion> allSemanticRegions(org.eclipse.emf.ecore.EObject object)
allSemanticRegions in interface ITextRegionExtensionspublic java.lang.Iterable<ISemanticRegion> semanticRegions(org.eclipse.emf.ecore.EObject object)
semanticRegions in interface ITextRegionExtensionspublic ISemanticRegionsFinder allRegionsFor(org.eclipse.emf.ecore.EObject object)
allRegionsFor in interface ITextRegionExtensionspublic org.eclipse.emf.ecore.EObject grammarElement(org.eclipse.emf.ecore.EObject obj)
grammarElement in interface ITextRegionExtensionsRuleCall or the assigned Action that led to the construction of this EObject. For the model's root
element, the ParserRule is returned.public TextRegionRewriter getRewriter()
getRewriter in interface ITextRegionAccessprotected abstract java.lang.String getText()
public ITextRegionAccess getTextRegionAccess()
getTextRegionAccess in interface ITextRegionExtensionspublic ISemanticRegionFinder immediatelyFollowing(org.eclipse.emf.ecore.EObject owner)
immediatelyFollowing in interface ITextRegionExtensionspublic ISemanticRegionFinder immediatelyPreceding(org.eclipse.emf.ecore.EObject owner)
immediatelyPreceding in interface ITextRegionExtensionsprotected java.util.Map<? extends org.eclipse.emf.ecore.EObject,? extends AbstractEObjectRegion> initMap()
public boolean isMultiline(org.eclipse.emf.ecore.EObject object)
isMultiline in interface ITextRegionExtensionspublic IHiddenRegion previousHiddenRegion(org.eclipse.emf.ecore.EObject owner)
previousHiddenRegion in interface ITextRegionExtensionsIHiddenRegion that precedes the EObject's first ISemanticRegion.ITextRegionExtensions.nextHiddenRegion(EObject)public ISemanticRegionsFinder regionFor(org.eclipse.emf.ecore.EObject object)
regionFor in interface ITextRegionExtensionspublic abstract AbstractEObjectRegion regionForEObject(org.eclipse.emf.ecore.EObject object)
ITextRegionAccessregionForEObject in interface ITextRegionAccessregionForEObject in interface ITextRegionExtensionspublic ILineRegion regionForLineAtOffset(int offset)
regionForLineAtOffset in interface ITextRegionAccesspublic ITextSegment regionForOffset(int offset, int length)
regionForOffset in interface ITextRegionAccesspublic java.lang.String toString()
toString in class java.lang.Objectpublic IHiddenRegion nextHiddenRegion(org.eclipse.emf.ecore.EObject owner)
nextHiddenRegion in interface ITextRegionExtensionsIHiddenRegion that follows after the EObject's last ISemanticRegion.ITextRegionExtensions.previousHiddenRegion(EObject)