Interface IMergeViewer
-
- All Superinterfaces:
org.eclipse.jface.viewers.IInputProvider,org.eclipse.jface.viewers.IInputSelectionProvider,org.eclipse.jface.viewers.ISelectionProvider
- All Known Implementing Classes:
AbstractMergeViewer,AbstractStructuredMergeViewer,AbstractTableOrTreeMergeViewer,TableMergeViewer,TreeMergeViewer
public interface IMergeViewer extends org.eclipse.jface.viewers.IInputSelectionProviderA specificIInputSelectionProviderfor EMF Compare.- Since:
- 4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIMergeViewer.MergeViewerSideAn enum that represents the side of the viewer and provides utilty methods to manage sides.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.swt.widgets.ControlgetControl()Returns the primary control associated with this viewer.IMergeViewer.MergeViewerSidegetSide()voidrefresh()Refreshes this viewer completely with information freshly obtained from this viewer's model.voidsetInput(Object input)Sets or clears the input for this viewer.voidsetSelection(org.eclipse.jface.viewers.ISelection selection, boolean reveal)Sets a new selection for this viewer and optionally makes it visible.
-
-
-
Method Detail
-
getSide
IMergeViewer.MergeViewerSide getSide()
-
getControl
org.eclipse.swt.widgets.Control getControl()
Returns the primary control associated with this viewer.- Returns:
- the SWT control which displays this viewer's content
-
refresh
void refresh()
Refreshes this viewer completely with information freshly obtained from this viewer's model.
-
setInput
void setInput(Object input)
Sets or clears the input for this viewer.- Parameters:
input- the input of this viewer, ornullif none
-
setSelection
void setSelection(org.eclipse.jface.viewers.ISelection selection, boolean reveal)Sets a new selection for this viewer and optionally makes it visible.Subclasses must implement this method.
- Parameters:
selection- the new selectionreveal-trueif the selection is to be made visible, andfalseotherwise
-
-