blob: 364785dc81b232803768e56455af217214c97dcb [file] [log] [blame]
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
package org.eclipse.compare.internal;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.compare.*;
/**
* A factory object for the <code>BinaryCompareViewer</code>.
* This indirection is necessary because only objects with a default
* constructor can be created via an extension point
* (this precludes Viewers).
*/
public class BinaryCompareViewerCreator implements IViewerCreator {
public Viewer createViewer(Composite parent, CompareConfiguration mp) {
return new BinaryCompareViewer(parent, mp);
}
}