org.eclipse.ocl.examples.xtext.completeocl.formatting
Class CompleteOCLFormatter

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 org.eclipse.ocl.examples.xtext.base.formatting.AbstractBaseFormatter
                  extended by org.eclipse.ocl.examples.xtext.essentialocl.formatting.AbstractEssentialOCLFormatter
                      extended by org.eclipse.ocl.examples.xtext.completeocl.formatting.CompleteOCLFormatter
All Implemented Interfaces:
org.eclipse.xtext.formatting.IFormatter, org.eclipse.xtext.formatting.IFormatterExtension

public class CompleteOCLFormatter
extends AbstractEssentialOCLFormatter

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


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
CompleteOCLFormatter()
           
 
Method Summary
protected  void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.essentialocl.formatting.AbstractEssentialOCLFormatter
configureCollectionLiteralExpCS, configureCollectionTypeCS, configureEssentialOCLNavigationOperatorCS, configureIfExpCS, configureLetExpCS, configureMultiplicityBoundsCS, configureMultiplicityCS, configureMultiplicityStringCS, configureNavigatingCommaArgCS, configureNavigatingSemiArgCS, configureNestedExpCS, configurePathNameCS, configurePrimaryExpCS, configureTupleLiteralExpCS, configureTupleTypeCS, configureURIPathNameCS
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.formatting.AbstractBaseFormatter
setAppendedBraces, setBraces, setNoSpaceLineWrap
 
Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
createFormatterStream, createFormatterStream, createFormattingConfig, createMatcher, getConfig, getGrammarAccess, getHiddenTokenHelper, getIndentInfo, getLineSeparatorInfo, 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

CompleteOCLFormatter

public CompleteOCLFormatter()
Method Detail

configureFormatting

protected void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
Specified by:
configureFormatting in class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter