public interface IMergeViewer
extends org.eclipse.jface.viewers.IInputSelectionProvider
IInputSelectionProvider
for EMF Compare.Modifier and Type | Interface and Description |
---|---|
static class |
IMergeViewer.MergeViewerSide
An enum that represents the side of the viewer and provides utilty methods to manage sides.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Control |
getControl()
Returns the primary control associated with this viewer.
|
IMergeViewer.MergeViewerSide |
getSide() |
void |
refresh()
Refreshes this viewer completely with information freshly obtained from this viewer's model.
|
void |
setInput(Object input)
Sets or clears the input for this viewer.
|
void |
setSelection(org.eclipse.jface.viewers.ISelection selection,
boolean reveal)
Sets a new selection for this viewer and optionally makes it visible.
|
IMergeViewer.MergeViewerSide getSide()
org.eclipse.swt.widgets.Control getControl()
void refresh()
void setInput(Object input)
input
- the input of this viewer, or null
if nonevoid setSelection(org.eclipse.jface.viewers.ISelection selection, boolean reveal)
Subclasses must implement this method.
selection
- the new selectionreveal
- true
if the selection is to be made visible, and false
otherwise
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.