|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.kaom.text.formatting.KaomFormatter
public class KaomFormatter
This class contains custom formatting description for textual KAOM specifications.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter |
---|
org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter.ConfigStore |
Field Summary |
---|
Fields inherited from class de.cau.cs.kieler.core.annotations.text.formatting.AnnotationsFormatter |
---|
LANGUAGE_NAME |
Fields inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter |
---|
grammar |
Constructor Summary | |
---|---|
KaomFormatter()
|
Method Summary | |
---|---|
protected void |
configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
The interface method called by the runtime, delegating to AnnotationsFormatter.customConfigureFormatting(FormattingConfig, AnnotationsGrammarAccess)
. |
protected void |
customConfigureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c,
KaomGrammarAccess 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 |
Constructor Detail |
---|
public KaomFormatter()
Method Detail |
---|
protected void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
AnnotationsFormatter.customConfigureFormatting(FormattingConfig, AnnotationsGrammarAccess)
.
configureFormatting
in class AnnotationsFormatter
c
- the provided FormattingConfig
accepting the provided instructions.protected void customConfigureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c, KaomGrammarAccess f)
customConfigureFormatting
in class AnnotationsFormatter
c
- FormattingConfig provided by callerf
- GrammarAccess provided by caller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |