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

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.formatting.ContentFormatterFactory
All Implemented Interfaces:
IContentFormatterFactory

public class ContentFormatterFactory
extends java.lang.Object
implements IContentFormatterFactory


Nested Class Summary
 class ContentFormatterFactory.ContentFormatter
           
 class ContentFormatterFactory.FormattingUnitOfWork
           
 
Field Summary
protected  INodeModelFormatter formatter
           
 
Constructor Summary
ContentFormatterFactory()
           
 
Method Summary
 org.eclipse.jface.text.formatter.IContentFormatter createConfiguredFormatter(org.eclipse.jface.text.source.SourceViewerConfiguration configuration, org.eclipse.jface.text.source.ISourceViewer sourceViewer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formatter

@Inject
protected INodeModelFormatter formatter
Constructor Detail

ContentFormatterFactory

public ContentFormatterFactory()
Method Detail

createConfiguredFormatter

public org.eclipse.jface.text.formatter.IContentFormatter createConfiguredFormatter(org.eclipse.jface.text.source.SourceViewerConfiguration configuration,
                                                                                    org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Specified by:
createConfiguredFormatter in interface IContentFormatterFactory