Package org.somox.metrics.dsl.formatting
Class MetricDSLFormatter
java.lang.Object
org.eclipse.xtext.formatting.impl.AbstractFormatter
org.eclipse.xtext.formatting.impl.BaseFormatter
org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
org.somox.metrics.dsl.formatting.MetricDSLFormatter
- All Implemented Interfaces:
org.eclipse.xtext.formatting.IFormatter
,org.eclipse.xtext.formatting.IFormatterExtension
public class MetricDSLFormatter
extends org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
This class contains custom formatting description.
see : http://www.eclipse.org/Xtext/documentation.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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureFormatting
(org.eclipse.xtext.formatting.impl.FormattingConfig c) 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
-
Constructor Details
-
MetricDSLFormatter
public MetricDSLFormatter()
-
-
Method Details
-
configureFormatting
protected void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c) - Specified by:
configureFormatting
in classorg.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
-