Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.compare
Interface IViewerCreator

public interface IViewerCreator

A factory object for `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`.

Method Summary
`Viewer` | `createViewer(Composite parent, CompareConfiguration config)` Creates a new viewer under the given SWT parent control.

Method Detail

### createViewer

    public 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 control
    `config` - a compare configuration the newly created viewer might want to use
  Returns:
    a new viewer

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.