public interface IMergeViewer extends 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 |
|---|---|
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(ISelection selection,
boolean reveal)
Sets a new selection for this viewer and optionally makes it visible.
|
getInputaddSelectionChangedListener, getSelection, removeSelectionChangedListener, setSelectionIMergeViewer.MergeViewerSide getSide()
Control getControl()
void refresh()
void setInput(Object input)
input - the input of this viewer, or null if nonevoid setSelection(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, 2014 Obeo and others. All rights reserved.