Package org.eclipse.compare
Interface IViewerCreator
- All Known Implementing Classes:
 BinaryCompareViewerCreator,ImageMergeViewerCreator,TextMergeViewerCreator,TextViewerCreator
public interface IViewerCreator
A factory object for 
Viewer.
 
 This interface is only required when creating a Viewer from a plugin.xml file.
 Since Viewers have no default constructor they cannot be
 instantiated directly with Class.forName.
- 
Method Summary
Modifier and TypeMethodDescriptioncreateViewer(Composite parent, CompareConfiguration config) Creates a new viewer under the given SWT parent control. 
- 
Method Details
- 
createViewer
Creates a new viewer under the given SWT parent control.- Parameters:
 parent- the SWT parent control under which to create the viewer's SWT controlconfig- a compare configuration the newly created viewer might want to use- Returns:
 - a new viewer
 
 
 -