Class IndentOnceAutowrapFormatter

  • All Implemented Interfaces:
    org.eclipse.xtext.formatting2.IAutowrapFormatter

    public class IndentOnceAutowrapFormatter
    extends java.lang.Object
    implements org.eclipse.xtext.formatting2.IAutowrapFormatter
    • Constructor Summary

      Constructors 
      Constructor Description
      IndentOnceAutowrapFormatter​(org.eclipse.xtext.formatting2.regionaccess.IHiddenRegion last)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void format​(org.eclipse.xtext.formatting2.regionaccess.ITextSegment region, org.eclipse.xtext.formatting2.IHiddenRegionFormatting wrapped, org.eclipse.xtext.formatting2.IFormattableDocument document)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IndentOnceAutowrapFormatter

        public IndentOnceAutowrapFormatter​(org.eclipse.xtext.formatting2.regionaccess.IHiddenRegion last)
    • Method Detail

      • format

        public void format​(org.eclipse.xtext.formatting2.regionaccess.ITextSegment region,
                           org.eclipse.xtext.formatting2.IHiddenRegionFormatting wrapped,
                           @Extension
                           org.eclipse.xtext.formatting2.IFormattableDocument document)
        Specified by:
        format in interface org.eclipse.xtext.formatting2.IAutowrapFormatter