public class ContentFormatterFactory extends Object implements IContentFormatterFactory
| Modifier and Type | Class and Description |
|---|---|
class |
ContentFormatterFactory.ContentFormatter |
class |
ContentFormatterFactory.FormattingUnitOfWork
TODO: Use a
ReplaceRegion instead of the ReplaceRegion. |
| Modifier and Type | Field and Description |
|---|---|
protected INodeModelFormatter |
formatter |
| Constructor and Description |
|---|
ContentFormatterFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jface.text.formatter.IContentFormatter |
createConfiguredFormatter(org.eclipse.jface.text.source.SourceViewerConfiguration configuration,
org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
protected org.eclipse.text.edits.TextEdit |
createTextEdit(IXtextDocument doc,
ReplaceRegion r)
Create a text edit from the given replace region.
|
@Inject protected INodeModelFormatter formatter
public org.eclipse.jface.text.formatter.IContentFormatter createConfiguredFormatter(org.eclipse.jface.text.source.SourceViewerConfiguration configuration,
org.eclipse.jface.text.source.ISourceViewer sourceViewer)
createConfiguredFormatter in interface IContentFormatterFactoryprotected org.eclipse.text.edits.TextEdit createTextEdit(IXtextDocument doc, ReplaceRegion r) throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionCopyright © 2016. All Rights Reserved.