de.cau.cs.kieler.synccharts.text.kitsState.formatting
Class KitsStateFormatter
java.lang.Object
org.eclipse.xtext.formatting.impl.AbstractFormatter
org.eclipse.xtext.formatting.impl.BaseFormatter
org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
de.cau.cs.kieler.core.annotations.text.formatting.AnnotationsFormatter
de.cau.cs.kieler.core.kexpressions.formatting.KExpressionsFormatter
de.cau.cs.kieler.synccharts.text.actions.formatting.ActionsFormatter
de.cau.cs.kieler.synccharts.text.kits.formatting.KitsFormatter
de.cau.cs.kieler.synccharts.text.kitsState.formatting.KitsStateFormatter
- All Implemented Interfaces:
- org.eclipse.xtext.formatting.IFormatter
public class KitsStateFormatter
- extends KitsFormatter
This class contains custom formatting description.
see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#formatting
on how and when to use it
Also see org.eclipse.xtext.xtext.XtextFormattingTokenSerializer
as an example
- Rating

Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter |
org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter.ConfigStore |
Fields inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter |
grammar |
Method Summary |
protected void |
configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
Delegates to customConfigureFormatting. |
protected void |
customConfigureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c,
KitsStateGrammarAccess f)
Method contains actual formatting instructions while GrammarAccess class maybe parameterized
allowing the reuse within other Formatters. |
Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter |
createFormatterStream, createFormattingConfig, createMatcher, getConfig, getGrammarAccess, getHiddenTokenHelper, getIndentInfo, getMatcherProvider, saveDebugGraphvizDiagram, setGrammarAccess |
Methods inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter |
getWSRule |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KitsStateFormatter
public KitsStateFormatter()
configureFormatting
protected void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
- Description copied from class:
KExpressionsFormatter
- Delegates to customConfigureFormatting.
- Overrides:
configureFormatting
in class KitsFormatter
- Parameters:
c
- the provided FormattingConfig
accepting the provided instructions.
customConfigureFormatting
protected void customConfigureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c,
KitsStateGrammarAccess f)
- Method contains actual formatting instructions while GrammarAccess class maybe parameterized
allowing the reuse within other Formatters.
- Overrides:
customConfigureFormatting
in class KitsFormatter
- Parameters:
c
- FormattingConfig provided by callerf
- GrammarAccess provided by caller