public class GeneratorModelFormatter
extends org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
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