public interface IViewerCreator
Viewer
.
This interface is only required when creating a Viewer
from a plugin.xml file.
Since Viewer
s have no default constructor they cannot be
instantiated directly with Class.forName
.
Modifier and Type | Method and Description |
---|---|
Viewer |
createViewer(Composite parent,
CompareConfiguration config)
Creates a new viewer under the given SWT parent control.
|
Viewer createViewer(Composite parent, CompareConfiguration config)
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
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.