|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.formatting.impl.AbstractFormattingConfig org.eclipse.xtext.formatting.impl.FormattingConfig
public class FormattingConfig
Nested Class Summary | |
---|---|
class |
FormattingConfig.IndentationLocatorEnd
|
class |
FormattingConfig.IndentationLocatorStart
|
class |
FormattingConfig.LinewrapLocator
|
class |
FormattingConfig.NoLinewrapLocator
|
class |
FormattingConfig.NoSpaceLocator
|
class |
FormattingConfig.SpaceLocator
|
Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.AbstractFormattingConfig |
---|
AbstractFormattingConfig.ElementBeforeAfterPattern, AbstractFormattingConfig.ElementBetweenPattern, AbstractFormattingConfig.ElementLocator, AbstractFormattingConfig.ElementPattern, AbstractFormattingConfig.LocatorType |
Field Summary | |
---|---|
protected int |
charsPerLine
|
protected IIndentationInformation |
indentInfo
|
protected TerminalRule |
whitespaceRule
Deprecated. |
protected int |
wrappedLineIndentation
|
Fields inherited from class org.eclipse.xtext.formatting.impl.AbstractFormattingConfig |
---|
grammarAccess, hiddenTokenHelper, locatorsCommentAfter, locatorsCommentBefore, locatorsSemantic |
Constructor Summary | |
---|---|
FormattingConfig(IGrammarAccess grammarAccess,
IHiddenTokenHelper hiddenTokenHelper,
IIndentationInformation indentInfo)
|
Method Summary | |
---|---|
int |
getCharsPerLine()
|
java.lang.String |
getIndentationSpace()
|
TerminalRule |
getWhitespaceRule()
Deprecated. |
int |
getWrappedLineIndentation()
|
void |
setAutoLinewrap(int charsPerLine)
|
void |
setIndentation(AbstractElement beginElement,
AbstractElement endElement)
|
FormattingConfig.IndentationLocatorEnd |
setIndentationDecrement()
|
FormattingConfig.IndentationLocatorStart |
setIndentationIncrement()
|
FormattingConfig.LinewrapLocator |
setLinewrap()
|
FormattingConfig.LinewrapLocator |
setLinewrap(int lines)
|
FormattingConfig.LinewrapLocator |
setLinewrap(int minWraps,
int defaultWraps,
int maxWraps)
|
FormattingConfig.NoLinewrapLocator |
setNoLinewrap()
|
FormattingConfig.NoSpaceLocator |
setNoSpace()
|
FormattingConfig.SpaceLocator |
setSpace(java.lang.String space)
|
void |
setWhitespaceRule(TerminalRule rule)
Deprecated. |
void |
setWrappedLineIndentation(int wrapIndent)
|
Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractFormattingConfig |
---|
addLocator, addLocatorComment, addLocatorSemantic, addLocatorSemantic, getAbstractElements, getLocatorsForCommentTokensAfter, getLocatorsForCommentTokensBefore, getLocatorsForSemanticTokens |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int charsPerLine
protected IIndentationInformation indentInfo
protected int wrappedLineIndentation
@Deprecated protected TerminalRule whitespaceRule
Constructor Detail |
---|
public FormattingConfig(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper, IIndentationInformation indentInfo)
Method Detail |
---|
public int getWrappedLineIndentation()
public void setWrappedLineIndentation(int wrapIndent)
@Deprecated public TerminalRule getWhitespaceRule()
@Deprecated public void setWhitespaceRule(TerminalRule rule)
public int getCharsPerLine()
public java.lang.String getIndentationSpace()
public void setAutoLinewrap(int charsPerLine)
public void setIndentation(AbstractElement beginElement, AbstractElement endElement)
public FormattingConfig.IndentationLocatorStart setIndentationIncrement()
public FormattingConfig.IndentationLocatorEnd setIndentationDecrement()
public FormattingConfig.LinewrapLocator setLinewrap()
public FormattingConfig.LinewrapLocator setLinewrap(int lines)
public FormattingConfig.LinewrapLocator setLinewrap(int minWraps, int defaultWraps, int maxWraps)
public FormattingConfig.NoLinewrapLocator setNoLinewrap()
public FormattingConfig.NoSpaceLocator setNoSpace()
public FormattingConfig.SpaceLocator setSpace(java.lang.String space)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |