Class ImageMergeViewerCreator

java.lang.Object
org.eclipse.compare.internal.ImageMergeViewerCreator
All Implemented Interfaces:
IViewerCreator

public class ImageMergeViewerCreator extends Object implements IViewerCreator
A factory object for the ImageMergeViewer. This indirection is necessary because only objects with a default constructor can be created via an extension point (this precludes Viewers).
  • Constructor Details

    • ImageMergeViewerCreator

      public ImageMergeViewerCreator()
  • Method Details

    • createViewer

      public Viewer createViewer(Composite parent, CompareConfiguration mp)
      Description copied from interface: IViewerCreator
      Creates a new viewer under the given SWT parent control.
      Specified by:
      createViewer in 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