public class TreeContentMergeViewer extends AbstractTreeContentMergeViewer
| Modifier and Type | Class and Description |
|---|---|
protected class |
TreeContentMergeViewer.ExpandCollapseListener |
CENTER_WIDTH| Constructor and Description |
|---|
TreeContentMergeViewer(org.eclipse.swt.widgets.Composite parent,
EMFCompareConfiguration config)
Creates a new
TreeContentMergeViewer by calling the super constructor with the given
parameters. |
TreeContentMergeViewer(int style,
ResourceBundle bundle,
org.eclipse.swt.widgets.Composite parent,
EMFCompareConfiguration config)
Creates a new
TreeContentMergeViewer by calling the super constructor with the given
parameters. |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractMergeViewer |
createMergeViewer(org.eclipse.swt.widgets.Composite parent,
IMergeViewer.MergeViewerSide side)
Creates the merge viewer for the given parent and the given side.
|
protected org.eclipse.jface.viewers.IContentProvider |
createMergeViewerContentProvider(IMergeViewer.MergeViewerSide side)
Creates the
IContentProvider used in the merge viewer. |
protected IMergeViewerItemProviderConfiguration |
createMergeViewerItemProviderConfiguration(IMergeViewer.MergeViewerSide side) |
protected ComposedAdapterFactory |
getAdapterFactory() |
protected void |
handleDispose(org.eclipse.swt.events.DisposeEvent event) |
protected void |
hookListeners(TreeMergeViewer treeMergeViewer)
Adds all required listeners to the given
TreeMergeViewer. |
getAncestorMergeViewer, getContents, getLeftMergeViewer, getRightMergeViewer, paintCentercolorChanged, commandStackChanged, copy, createCenterControl, createControls, createToolItems, doSave, editingDomainChange, flushContent, getAdapter, getCenterWidth, getCompareColor, getCompareConfiguration, getControl, getDifferenceFilterPredicate, getDifferenceGroupProvider, getDiffFrom, getEffectiveSide, getHandlerService, handleAdapterFactoryChange, handleDifferenceFiltersChange, handleDifferenceGroupProviderChange, handleEditingDomainChange, handleMirroredChanged, handlePropertyChangeEvent, handleResizeAncestor, handleResizeLeftRight, redrawCenterControl, selectionChanged, setContentProvider, updateContentaddPropertyChangeListener, buildControl, flush, flushLeft, flushRight, getCenterControl, getResourceBundle, getSelection, getTitle, getToolBarManager, handleCompareInputChange, handleSetFocus, hookControl, inputChanged, internalIsLeftDirty, internalIsRightDirty, isAncestorVisible, isLeftDirty, isLeftEditable, isRightDirty, isRightEditable, isThreeWay, refresh, removePropertyChangeListener, save, setConfirmSave, setLeftDirty, setRightDirty, setSelection, updateHeader, updateToolItemsgetContentProvider, getInput, getLabelProvider, handleLabelProviderChanged, labelProviderChanged, setInput, setLabelProviderpublic TreeContentMergeViewer(int style,
ResourceBundle bundle,
org.eclipse.swt.widgets.Composite parent,
EMFCompareConfiguration config)
TreeContentMergeViewer by calling the super constructor with the given
parameters.
It calls ContentMergeViewer.buildControl(Composite) as stated in its javadoc.
It sets a specific
content provider to properly
display ancestor, left and right parts.
style - the style indicator for the parentbundle - the ResourceBundle for localizationparent - the parent composite to build the UI inconfig - the CompareConfigurationpublic TreeContentMergeViewer(org.eclipse.swt.widgets.Composite parent,
EMFCompareConfiguration config)
TreeContentMergeViewer by calling the super constructor with the given
parameters.
It calls ContentMergeViewer.buildControl(Composite) as stated in its javadoc.
It sets a specific
content provider to properly
display ancestor, left and right parts.
parent - the parent composite to build the UI inconfig - the CompareConfigurationprotected ComposedAdapterFactory getAdapterFactory()
protected void handleDispose(org.eclipse.swt.events.DisposeEvent event)
handleDispose in class EMFCompareContentMergeViewerContentMergeViewer.handleDispose(org.eclipse.swt.events.DisposeEvent)protected AbstractMergeViewer createMergeViewer(org.eclipse.swt.widgets.Composite parent, IMergeViewer.MergeViewerSide side)
createMergeViewer in class EMFCompareContentMergeViewerparent - composite in which to create the merge viewer.side - the side of the new viewer.org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.EMFCompareContentMergeViewer#createMergeViewer(org.eclipse.swt.widgets.Composite)protected org.eclipse.jface.viewers.IContentProvider createMergeViewerContentProvider(IMergeViewer.MergeViewerSide side)
IContentProvider used in the merge viewer.IContentProvider used in the merge viewer.protected IMergeViewerItemProviderConfiguration createMergeViewerItemProviderConfiguration(IMergeViewer.MergeViewerSide side)
protected void hookListeners(TreeMergeViewer treeMergeViewer)
TreeMergeViewer.hookListeners in class AbstractTreeContentMergeViewertreeMergeViewer - the TreeMergeViewer.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.