org.eclipse.xtext.ui.editor.formatting
Class ContentFormatterFactory.ContentFormatter

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.formatting.ContentFormatterFactory.ContentFormatter
All Implemented Interfaces:
org.eclipse.jface.text.formatter.IContentFormatter
Enclosing class:
ContentFormatterFactory

public class ContentFormatterFactory.ContentFormatter
extends java.lang.Object
implements org.eclipse.jface.text.formatter.IContentFormatter


Constructor Summary
ContentFormatterFactory.ContentFormatter()
           
 
Method Summary
 void format(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.IRegion region)
           
 org.eclipse.jface.text.formatter.IFormattingStrategy getFormattingStrategy(java.lang.String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentFormatterFactory.ContentFormatter

public ContentFormatterFactory.ContentFormatter()
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

getFormattingStrategy

public org.eclipse.jface.text.formatter.IFormattingStrategy getFormattingStrategy(java.lang.String contentType)
Specified by:
getFormattingStrategy in interface org.eclipse.jface.text.formatter.IContentFormatter