de.cau.cs.kieler.core.annotations.formatting
Class AnnotationsFormatter
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.formatting.AnnotationsFormatter
- All Implemented Interfaces:
- org.eclipse.xtext.formatting.IFormatter
- Direct Known Subclasses:
- ExpressionsFormatter
public class AnnotationsFormatter
- extends org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
This class contains custom formatting description.
- 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,
AnnotationsGrammarAccess f)
Method contains actual formatting instructions while GrammarAccess class
maybe parameterized allowing the reuse within ExpressionsFormatter. |
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 |
AnnotationsFormatter
public AnnotationsFormatter()
configureFormatting
protected void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
- Delegates to customConfigureFormatting.
- Specified by:
configureFormatting
in class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
customConfigureFormatting
protected void customConfigureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c,
AnnotationsGrammarAccess f)
- Method contains actual formatting instructions while GrammarAccess class
maybe parameterized allowing the reuse within ExpressionsFormatter.
- Parameters:
c
- FormattingConfig provided by callerf
- GrammarAccess provided by caller