60f84c07c3d158ba49acd9b3ecbf128f6544b50f
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / xml / ui / internal / compare / XMLMergeViewerCreator.java
1 /*
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
7  *
8  * Contributors:
9  *     Igor Malinin - initial contribution
10  *
11  * $Id: XMLMergeViewerCreator.java,v 1.1 2004-09-02 18:28:05 jsurfer Exp $
12  */
13
14 package net.sourceforge.phpeclipse.xml.ui.internal.compare;
15
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;
21
22 /**
23  * @author Igor Malinin
24  */
25 public class XMLMergeViewerCreator implements IViewerCreator {
26
27         /*
28          * @see IViewerCreator#createViewer(Composite, CompareConfiguration)
29          */
30         public Viewer createViewer(Composite parent, CompareConfiguration config) {
31                 return new XMLMergeViewer(parent, SWT.NULL, config);
32         }
33
34 }