public class FilesystemTreeDifferenceViewer extends Object implements IDifferenceViewer
EXTENSION_POINT_ID
Constructor and Description |
---|
FilesystemTreeDifferenceViewer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCompare(Object expected,
Object actual,
Object delta)
Returns
true if this viewer can show the differences between
the expected and the actual results. |
void |
compare(Object oExpected,
Object oActual,
Object delta)
Shows the differences between the expected and actual values, which might
have been precomputed or not.
|
public boolean canCompare(Object expected, Object actual, Object delta)
IDifferenceViewer
true
if this viewer can show the differences between
the expected and the actual results. This method will be called from the
SWT thread.canCompare
in interface IDifferenceViewer
expected
- Expected value.actual
- Actual value.delta
- Precomputed differences, if available. Otherwise,
null
.
true
if this instance can either:
expected
and actual
delta
.
Otherwise, returns false
.
public void compare(Object oExpected, Object oActual, Object delta)
IDifferenceViewer
IDifferenceViewer.canCompare(java.lang.Object, java.lang.Object, java.lang.Object)
returned
true with the same parameters.compare
in interface IDifferenceViewer
oExpected
- Expected value.oActual
- Actual value.delta
- Precomputed difference, if available. Otherwise,
null
.Copyright © 2016. All rights reserved.