Class BslNodeEObjectRegion
- java.lang.Object
-
- org.eclipse.xtext.formatting2.regionaccess.internal.AbstractTextSegment
-
- org.eclipse.xtext.formatting2.regionaccess.internal.AbstractEObjectRegion
-
- org.eclipse.xtext.formatting2.regionaccess.internal.NodeEObjectRegion
-
- com.e1c.g5.v8.dt.formatter.bsl.ui.regionaccess.BslNodeEObjectRegion
-
- All Implemented Interfaces:
Comparable<org.eclipse.xtext.formatting2.regionaccess.ITextSegment>
,org.eclipse.xtext.formatting2.regionaccess.IAstRegion
,org.eclipse.xtext.formatting2.regionaccess.IEObjectRegion
,org.eclipse.xtext.formatting2.regionaccess.ISequentialRegion
,org.eclipse.xtext.formatting2.regionaccess.ITextSegment
,org.eclipse.xtext.util.ITextRegion
public class BslNodeEObjectRegion extends org.eclipse.xtext.formatting2.regionaccess.internal.NodeEObjectRegion
This class does not bring any new functionality, it is made to access protected methods inBslNodeModelBasedRegionAccessBuilder.process(INode, NodeModelBasedRegionAccess)
. This call made for way around one 'if cause' that throws IllegalStateException which caused probably by xtext bug- See Also:
BslNodeModelBasedRegionAccessBuilder
-
-
Constructor Summary
Constructors Constructor Description BslNodeEObjectRegion(org.eclipse.xtext.formatting2.regionaccess.internal.NodeModelBasedRegionAccess access, org.eclipse.xtext.nodemodel.INode node)
Creates new instance ofBslNodeEObjectRegion
, by calling super's constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setGrammarElement(org.eclipse.emf.ecore.EObject grammarElement)
protected void
setLeadingHiddenRegion(org.eclipse.xtext.formatting2.regionaccess.IHiddenRegion leading)
protected void
setSemanticElement(org.eclipse.emf.ecore.EObject semanticElement)
protected void
setTrailingHiddenRegion(org.eclipse.xtext.formatting2.regionaccess.IHiddenRegion trailing)
-
Methods inherited from class org.eclipse.xtext.formatting2.regionaccess.internal.NodeEObjectRegion
getNode
-
Methods inherited from class org.eclipse.xtext.formatting2.regionaccess.internal.AbstractEObjectRegion
addChild, getAllRegionsFor, getAllSemanticRegions, getAstRegions, getContainingFeature, getContainingRegion, getGrammarElement, getIndexInContainingFeature, getLeadingHiddenRegion, getLength, getNextHiddenRegion, getNextSemanticRegion, getNextSequentialRegion, getOffset, getPreviousHiddenRegion, getPreviousSemanticRegion, getPreviousSequentialRegion, getRegionFor, getSemanticElement, getSemanticRegions, getTextRegionAccess, getTrailingHiddenRegion, immediatelyFollowing, immediatelyPreceding, initChildrenFeatureIndexes
-
Methods inherited from class org.eclipse.xtext.formatting2.regionaccess.internal.AbstractTextSegment
compareTo, contains, contains, equals, getEndOffset, getLineCount, getLineRegions, getText, hashCode, isMultiline, merge, replaceWith
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Constructor Detail
-
BslNodeEObjectRegion
public BslNodeEObjectRegion(org.eclipse.xtext.formatting2.regionaccess.internal.NodeModelBasedRegionAccess access, org.eclipse.xtext.nodemodel.INode node)
Creates new instance ofBslNodeEObjectRegion
, by calling super's constructor- Parameters:
access
- The access of the eObject region, cannot benull
node
- The node of the eObject region, cannot benull
-
-
Method Detail
-
setGrammarElement
protected void setGrammarElement(org.eclipse.emf.ecore.EObject grammarElement)
- Overrides:
setGrammarElement
in classorg.eclipse.xtext.formatting2.regionaccess.internal.AbstractEObjectRegion
-
setLeadingHiddenRegion
protected void setLeadingHiddenRegion(org.eclipse.xtext.formatting2.regionaccess.IHiddenRegion leading)
- Overrides:
setLeadingHiddenRegion
in classorg.eclipse.xtext.formatting2.regionaccess.internal.AbstractEObjectRegion
-
setSemanticElement
protected void setSemanticElement(org.eclipse.emf.ecore.EObject semanticElement)
- Overrides:
setSemanticElement
in classorg.eclipse.xtext.formatting2.regionaccess.internal.AbstractEObjectRegion
-
setTrailingHiddenRegion
protected void setTrailingHiddenRegion(org.eclipse.xtext.formatting2.regionaccess.IHiddenRegion trailing)
- Overrides:
setTrailingHiddenRegion
in classorg.eclipse.xtext.formatting2.regionaccess.internal.AbstractEObjectRegion
-
-