Package org.eclipse.compare.internal
Class BinaryCompareViewer
java.lang.Object
org.eclipse.jface.viewers.Viewer
org.eclipse.compare.internal.AbstractViewer
org.eclipse.compare.internal.BinaryCompareViewer
- All Implemented Interfaces:
IInputProvider
,IInputSelectionProvider
,ISelectionProvider
A simple compare viewer for binary files.
Shows the position of the first non-matching byte.
-
Field Summary
Fields inherited from class org.eclipse.jface.viewers.Viewer
WIDGET_DATA_KEY
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.compare.internal.AbstractViewer
getSelection, refresh, setSelection
Methods inherited from class org.eclipse.jface.viewers.Viewer
addHelpListener, addSelectionChangedListener, fireHelpRequested, fireSelectionChanged, getData, handleHelpRequest, inputChanged, removeHelpListener, removeSelectionChangedListener, scrollDown, scrollUp, setData, setSelection
-
Constructor Details
-
BinaryCompareViewer
-
-
Method Details
-
getControl
Description copied from class:Viewer
Returns the primary control associated with this viewer.- Specified by:
getControl
in classViewer
- Returns:
- the SWT control which displays this viewer's content
-
setInput
Description copied from class:Viewer
Sets or clears the input for this viewer.- Overrides:
setInput
in classAbstractViewer
- Parameters:
input
- the input of this viewer, ornull
if none
-
getInput
Description copied from interface:IInputProvider
Returns the input.- Specified by:
getInput
in interfaceIInputProvider
- Overrides:
getInput
in classAbstractViewer
- Returns:
- the input object
-