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) |
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, wait
getResource, hasSyntaxError, regionForDocument, regionForRootEObject, textForOffset
public ITextRegionExtensions getExtensions()
getExtensions
in interface ITextRegionAccess
public java.lang.Iterable<ISemanticRegion> allSemanticRegions(org.eclipse.emf.ecore.EObject object)
allSemanticRegions
in interface ITextRegionExtensions
public java.lang.Iterable<ISemanticRegion> semanticRegions(org.eclipse.emf.ecore.EObject object)
semanticRegions
in interface ITextRegionExtensions
public ISemanticRegionsFinder allRegionsFor(org.eclipse.emf.ecore.EObject object)
allRegionsFor
in interface ITextRegionExtensions
public org.eclipse.emf.ecore.EObject grammarElement(org.eclipse.emf.ecore.EObject obj)
grammarElement
in interface ITextRegionExtensions
RuleCall
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 ITextRegionAccess
protected abstract java.lang.String getText()
public ITextRegionAccess getTextRegionAccess()
getTextRegionAccess
in interface ITextRegionExtensions
public ISemanticRegionFinder immediatelyFollowing(org.eclipse.emf.ecore.EObject owner)
immediatelyFollowing
in interface ITextRegionExtensions
public ISemanticRegionFinder immediatelyPreceding(org.eclipse.emf.ecore.EObject owner)
immediatelyPreceding
in interface ITextRegionExtensions
protected java.util.Map<? extends org.eclipse.emf.ecore.EObject,? extends AbstractEObjectRegion> initMap()
public boolean isMultiline(org.eclipse.emf.ecore.EObject object)
isMultiline
in interface ITextRegionExtensions
public IHiddenRegion previousHiddenRegion(org.eclipse.emf.ecore.EObject owner)
previousHiddenRegion
in interface ITextRegionExtensions
IHiddenRegion
that precedes the EObject's first ISemanticRegion
.ITextRegionExtensions.nextHiddenRegion(EObject)
public ISemanticRegionsFinder regionFor(org.eclipse.emf.ecore.EObject object)
regionFor
in interface ITextRegionExtensions
public abstract AbstractEObjectRegion regionForEObject(org.eclipse.emf.ecore.EObject object)
regionForEObject
in interface ITextRegionAccess
regionForEObject
in interface ITextRegionExtensions
public ILineRegion regionForLineAtOffset(int offset)
regionForLineAtOffset
in interface ITextRegionAccess
public ITextSegment regionForOffset(int offset, int length)
regionForOffset
in interface ITextRegionAccess
public java.lang.String toString()
toString
in class java.lang.Object
public IHiddenRegion nextHiddenRegion(org.eclipse.emf.ecore.EObject owner)
nextHiddenRegion
in interface ITextRegionExtensions
IHiddenRegion
that follows after the EObject's last ISemanticRegion
.ITextRegionExtensions.previousHiddenRegion(EObject)