de.cau.cs.kieler.synccharts.text.kits.formatting
Class KitsFormatter

java.lang.Object
  extended by org.eclipse.xtext.formatting.impl.AbstractFormatter
      extended by org.eclipse.xtext.formatting.impl.BaseFormatter
          extended by org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
              extended by de.cau.cs.kieler.core.annotations.formatting.AnnotationsFormatter
                  extended by de.cau.cs.kieler.core.expressions.formatting.ExpressionsFormatter
                      extended by de.cau.cs.kieler.synccharts.text.actions.formatting.ActionsFormatter
                          extended by de.cau.cs.kieler.synccharts.text.kits.formatting.KitsFormatter
All Implemented Interfaces:
org.eclipse.xtext.formatting.IFormatter

public class KitsFormatter
extends ActionsFormatter

Custom IFormatter contributing to Kits serialization.

Rating red

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 org.eclipse.xtext.formatting.impl.BaseFormatter
grammar
 
Constructor Summary
KitsFormatter()
           
 
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, KitsGrammarAccess f)
          Method contains actual formatting instructions while GrammarAccess class maybe parameterized allowing the reuse within other Formatters.
 
Methods inherited from class de.cau.cs.kieler.synccharts.text.actions.formatting.ActionsFormatter
customConfigureFormatting
 
Methods inherited from class de.cau.cs.kieler.core.expressions.formatting.ExpressionsFormatter
customConfigureFormatting
 
Methods inherited from class de.cau.cs.kieler.core.annotations.formatting.AnnotationsFormatter
customConfigureFormatting
 
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

KitsFormatter

public KitsFormatter()
Method Detail

configureFormatting

protected void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
Description copied from class: ExpressionsFormatter
Delegates to customConfigureFormatting.

Overrides:
configureFormatting in class ActionsFormatter

customConfigureFormatting

protected void customConfigureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c,
                                         KitsGrammarAccess f)
Method contains actual formatting instructions while GrammarAccess class maybe parameterized allowing the reuse within other Formatters.

Parameters:
c - FormattingConfig provided by caller
f - GrammarAccess provided by caller