Package org.eclipse.compare.internal
Class TextViewerCreator
java.lang.Object
org.eclipse.compare.internal.TextViewerCreator
- All Implemented Interfaces:
- IViewerCreator
A factory object for the 
TextMergeViewer.
 This indirection is necessary because only objects with a default
 constructor can be created via an extension point
 (this precludes Viewers).- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateViewer(Composite parent, CompareConfiguration mp) Creates a new viewer under the given SWT parent control.
- 
Constructor Details- 
TextViewerCreatorpublic TextViewerCreator()
 
- 
- 
Method Details- 
createViewerDescription copied from interface:IViewerCreatorCreates a new viewer under the given SWT parent control.- Specified by:
- createViewerin interface- IViewerCreator
- Parameters:
- parent- the SWT parent control under which to create the viewer's SWT control
- mp- a compare configuration the newly created viewer might want to use
- Returns:
- a new viewer
 
 
-