2 * Copyright (c) 2002-2004 Widespace, OU and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * Igor Malinin - initial contribution
11 * $Id: XMLMergeViewerCreator.java,v 1.1 2004-09-02 18:28:05 jsurfer Exp $
14 package net.sourceforge.phpeclipse.xml.ui.internal.compare;
16 import org.eclipse.compare.CompareConfiguration;
17 import org.eclipse.compare.IViewerCreator;
18 import org.eclipse.jface.viewers.Viewer;
19 import org.eclipse.swt.SWT;
20 import org.eclipse.swt.widgets.Composite;
23 * @author Igor Malinin
25 public class XMLMergeViewerCreator implements IViewerCreator {
28 * @see IViewerCreator#createViewer(Composite, CompareConfiguration)
30 public Viewer createViewer(Composite parent, CompareConfiguration config) {
31 return new XMLMergeViewer(parent, SWT.NULL, config);