public interface IDifferenceViewer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXTENSION_POINT_ID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCompare(java.lang.Object expected,
java.lang.Object actual,
java.lang.Object delta)
Returns
true if this viewer can show the differences between
the expected and the actual results. |
void |
compare(java.lang.Object expected,
java.lang.Object actual,
java.lang.Object delta)
Shows the differences between the expected and actual values, which might
have been precomputed or not.
|
static final java.lang.String EXTENSION_POINT_ID
boolean canCompare(java.lang.Object expected,
java.lang.Object actual,
java.lang.Object delta)
true if this viewer can show the differences between
the expected and the actual results. This method will be called from the
SWT thread.expected - Expected value.actual - Actual value.delta - Precomputed differences, if available. Otherwise,
null.
true if this instance can either:
expected and actualdelta.
Otherwise, returns false.
void compare(java.lang.Object expected,
java.lang.Object actual,
java.lang.Object delta)
canCompare(java.lang.Object, java.lang.Object, java.lang.Object) returned
true with the same parameters.expected - Expected value.actual - Actual value.delta - Precomputed difference, if available. Otherwise,
null.