Class EMFDifferenceViewer

    • Constructor Detail

      • EMFDifferenceViewer

        public EMFDifferenceViewer()
    • Method Detail

      • canCompare

        public boolean canCompare​(Object expected,
                                  Object actual,
                                  Object delta)
        Description copied from interface: IDifferenceViewer
        Returns true if this viewer can show the differences between the expected and the actual results. This method will be called from the SWT thread.
        Specified by:
        canCompare in interface IDifferenceViewer
        Parameters:
        expected - Expected value.
        actual - Actual value.
        delta - Precomputed differences, if available. Otherwise, null.
        Returns:

        true if this instance can either:

        • compute and show the differences between expected and actual
        • , or b) show the precomputed differences in delta.

        Otherwise, returns false.