org.openxma.dsl.common.formatter
Class OpenXMAFormattingConfig
java.lang.Object
org.openxma.dsl.common.formatter.OpenXMAFormattingConfig
public class OpenXMAFormattingConfig
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
noSpaceLocators
protected LocatorTree noSpaceLocators
startIndentionLocators
protected LocatorTree startIndentionLocators
endIndentionLocators
protected LocatorTree endIndentionLocators
lineWrapLocators
protected LocatorTree lineWrapLocators
OpenXMAFormattingConfig
public OpenXMAFormattingConfig()
setLinewrap
public SimpleLocator setLinewrap(int lines)
setIndentationSpace
public void setIndentationSpace(java.lang.String space)
setIndentation
public void setIndentation(org.eclipse.emf.ecore.EObject startIndention,
org.eclipse.emf.ecore.EObject endIndention)
- Configure that there is a indentation started before the first
given element and that it ends before the second given element.
- Parameters:
startIndention - endIndention -
setIndentation
public void setIndentation(org.eclipse.emf.ecore.EObject element)
- Configure that the given element is intended. This means the indentation
starts before this element and ends after this element.
- Parameters:
element -
startIndentation
public SimpleLocator startIndentation()
endIndentation
public SimpleLocator endIndentation()
getIndention
public java.lang.String getIndention(int count)
allowSpace
public boolean allowSpace(org.eclipse.xtext.parsetree.AbstractNode node,
org.eclipse.emf.ecore.EObject elementOfLeftNode,
org.eclipse.emf.ecore.EObject elementOfRightNode)
setNoSpace
public ComplexLocator setNoSpace()
Copyright © 2012. All Rights Reserved.