org.mod4j.dsl.datacontract.xtext.formatting
Class DataContractFormatter

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.mod4j.dsl.datacontract.xtext.formatting.DataContractFormatter
All Implemented Interfaces:
org.eclipse.xtext.formatting.IFormatter

public class DataContractFormatter
extends org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter

This class contains custom formatting description. see : http://wiki.eclipse.org/Xtext/Documentation#Formatting on how and when to use it Also see org.eclipse.xtext.xtext.XtextFormattingTokenSerializer as an example


Field Summary
 
Fields inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter
grammar
 
Constructor Summary
DataContractFormatter()
           
 
Method Summary
protected  void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
           
 
Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
createFormatterStream, createFormattingConfig, getConfig, getGrammarAccess, 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

DataContractFormatter

public DataContractFormatter()
Method Detail

configureFormatting

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


Copyright © 2010 Mod4j. All Rights Reserved.