public class ContentFormatterFactory.ContentFormatter
extends java.lang.Object
implements org.eclipse.jface.text.formatter.IContentFormatter
Constructor and Description |
---|
ContentFormatterFactory.ContentFormatter() |
Modifier and Type | Method and Description |
---|---|
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) |
public ContentFormatterFactory.ContentFormatter()
public void format(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.IRegion region)
format
in interface org.eclipse.jface.text.formatter.IContentFormatter
public org.eclipse.jface.text.formatter.IFormattingStrategy getFormattingStrategy(java.lang.String contentType)
getFormattingStrategy
in interface org.eclipse.jface.text.formatter.IContentFormatter