Class CustomContentFormatterFactory.CustomContentFormatter

  • All Implemented Interfaces:
    org.eclipse.jface.text.formatter.IContentFormatter
    Enclosing class:
    CustomContentFormatterFactory

    public class CustomContentFormatterFactory.CustomContentFormatter
    extends org.eclipse.xtext.ui.editor.formatting.ContentFormatterFactory.ContentFormatter
    Special ContentFormatterFactory.ContentFormatter with applying text changes after formatting through EmbeddedEditorBuffer
    • Constructor Detail

      • CustomContentFormatter

        public CustomContentFormatter()
    • Method Detail

      • format

        public void format​(org.eclipse.jface.text.IDocument document,
                           org.eclipse.jface.text.IRegion region)
        Specified by:
        format in interface org.eclipse.jface.text.formatter.IContentFormatter
        Overrides:
        format in class org.eclipse.xtext.ui.editor.formatting.ContentFormatterFactory.ContentFormatter