public abstract class AbstractTreeContentMergeViewer extends EMFCompareContentMergeViewer
CENTER_WIDTH| Constructor and Description |
|---|
AbstractTreeContentMergeViewer(int style,
ResourceBundle bundle,
EMFCompareConfiguration config)
Creates a new
AbstractTreeContentMergeViewer by calling the super constructor with the given
parameters. |
| Modifier and Type | Method and Description |
|---|---|
protected TreeMergeViewer |
getAncestorMergeViewer() |
protected byte[] |
getContents(boolean left) |
protected TreeMergeViewer |
getLeftMergeViewer() |
protected TreeMergeViewer |
getRightMergeViewer() |
protected void |
hookListeners(TreeMergeViewer treeMergeViewer)
Adds all required listeners to the given
TreeMergeViewer. |
protected void |
paintCenter(org.eclipse.swt.graphics.GC g) |
colorChanged, commandStackChanged, copy, createCenterControl, createControls, createMergeViewer, createToolItems, doSave, editingDomainChange, flushContent, getAdapter, getCenterWidth, getCompareColor, getCompareConfiguration, getControl, getDifferenceFilterPredicate, getDifferenceGroupProvider, getDiffFrom, getEffectiveSide, getHandlerService, handleAdapterFactoryChange, handleDifferenceFiltersChange, handleDifferenceGroupProviderChange, handleDispose, 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 AbstractTreeContentMergeViewer(int style,
ResourceBundle bundle,
EMFCompareConfiguration config)
AbstractTreeContentMergeViewer 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 CompareConfigurationprotected TreeMergeViewer getAncestorMergeViewer()
getAncestorMergeViewer in class EMFCompareContentMergeViewerEMFCompareContentMergeViewer.getAncestorMergeViewer()protected TreeMergeViewer getLeftMergeViewer()
getLeftMergeViewer in class EMFCompareContentMergeViewerEMFCompareContentMergeViewer.getLeftMergeViewer()protected TreeMergeViewer getRightMergeViewer()
getRightMergeViewer in class EMFCompareContentMergeViewerEMFCompareContentMergeViewer.getRightMergeViewer()protected byte[] getContents(boolean left)
getContents in class org.eclipse.compare.contentmergeviewer.ContentMergeViewerContentMergeViewer.getContents(boolean)protected void hookListeners(TreeMergeViewer treeMergeViewer)
TreeMergeViewer.treeMergeViewer - the TreeMergeViewer.protected void paintCenter(org.eclipse.swt.graphics.GC g)
paintCenter in class EMFCompareContentMergeViewerorg.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.EMFCompareContentMergeViewer#paintCenter(org.eclipse.swt.widgets.Canvas,
org.eclipse.swt.graphics.GC)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.