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)
IDifferenceViewertrue 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 IDifferenceViewerexpected - Expected value.actual - Actual value.delta - Precomputed differences, if available. Otherwise,
null.
true if this instance can either:
expected and actualdelta.
Otherwise, returns false.
public void compare(Object oExpected, Object oActual, Object delta)
IDifferenceViewerIDifferenceViewer.canCompare(java.lang.Object, java.lang.Object, java.lang.Object) returned
true with the same parameters.compare in interface IDifferenceVieweroExpected - Expected value.oActual - Actual value.delta - Precomputed difference, if available. Otherwise,
null.Copyright © 2016. All rights reserved.