Class ItemsFormatter

java.lang.Object
org.eclipse.xtext.formatting.impl.AbstractFormatter
org.eclipse.xtext.formatting.impl.BaseFormatter
org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
org.openhab.core.model.formatting.ItemsFormatter
All Implemented Interfaces:
org.eclipse.xtext.formatting.IFormatter, org.eclipse.xtext.formatting.IFormatterExtension

public class ItemsFormatter extends org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
This class contains custom formatting description.
  • 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
     
    void
    withinKeywordPairs(org.eclipse.xtext.formatting.impl.FormattingConfig.NoSpaceLocator locator, String leftKW, String rightKW)
     

    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 Details

    • ItemsFormatter

      public ItemsFormatter()
  • Method Details

    • configureFormatting

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

      public void withinKeywordPairs(org.eclipse.xtext.formatting.impl.FormattingConfig.NoSpaceLocator locator, String leftKW, String rightKW)