1
/*******************************************************************************
2
* Copyright (c) 2009 Red Hat, Inc.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Red Hat - initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.linuxtools.internal.rpm.ui.editor.compare;
13
import org.eclipse.compare.CompareConfiguration;
14
import org.eclipse.compare.IViewerCreator;
15
import org.eclipse.jface.viewers.Viewer;
16
import org.eclipse.swt.widgets.Composite;
19
* Viewer creator which creates a SpecMergeViewer.
22
public class SpecMergeViewerCreator implements IViewerCreator {
25
* @see org.eclipse.compare.IViewerCreator#createViewer(org.eclipse.swt.widgets
26
* .Composite, org.eclipse.compare.CompareConfiguration)
28
public Viewer createViewer(Composite parent, CompareConfiguration config) {
29
return new SpecMergeViewer(parent, config);