Package org.eclipse.compare
Interface IViewerCreator
-
public interface IViewerCreatorA factory object forViewer.This interface is only required when creating a
Viewerfrom a plugin.xml file. SinceViewers have no default constructor they cannot be instantiated directly withClass.forName.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ViewercreateViewer(Composite parent, CompareConfiguration config)Creates a new viewer under the given SWT parent control.
-
-
-
Method Detail
-
createViewer
Viewer createViewer(Composite parent, CompareConfiguration config)
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
-
-