Class DefaultXtextThreeSideTextMergeViewerCreator
java.lang.Object
com._1c.g5.v8.dt.xtext.compare.ui.mergeviewer.DefaultXtextThreeSideTextMergeViewerCreator
- All Implemented Interfaces:
IThreeSideTextMergeViewerCreator
public class DefaultXtextThreeSideTextMergeViewerCreator
extends Object
implements IThreeSideTextMergeViewerCreator
A default factory to create
XtextThreeSideTextMergeViewer
instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateViewer
(org.eclipse.swt.widgets.Composite parent, org.eclipse.compare.CompareConfiguration compareConfiguration, org.eclipse.ui.services.IServiceLocator serviceLocator) Creates a new merge viewer under the given SWT parent control.
-
Constructor Details
-
DefaultXtextThreeSideTextMergeViewerCreator
public DefaultXtextThreeSideTextMergeViewerCreator()
-
-
Method Details
-
createViewer
public ThreeSideTextMergeViewer createViewer(org.eclipse.swt.widgets.Composite parent, org.eclipse.compare.CompareConfiguration compareConfiguration, org.eclipse.ui.services.IServiceLocator serviceLocator) Description copied from interface:IThreeSideTextMergeViewerCreator
Creates a new merge viewer under the given SWT parent control.- Specified by:
createViewer
in interfaceIThreeSideTextMergeViewerCreator
- Parameters:
parent
- the SWT parent control under which to create the viewer's controls, can not benull
compareConfiguration
- the compare configuration the newly created viewer will use, can not benull
serviceLocator
- the service locator, can not benull
- Returns:
- the newly created merge viewer, never
null
-