org.eclipse.emf.emfstore.client.ui.historybrowsercomparator
Class EMFCompareComparator

java.lang.Object
  extended by org.eclipse.emf.emfstore.client.ui.historybrowsercomparator.EMFCompareComparator
All Implemented Interfaces:
ESCompare

public class EMFCompareComparator
extends Object
implements ESCompare

Implementation of ESCompare using the EMF Compare Framework to compare to Projects.

Author:
jsommerfeldt

Constructor Summary
EMFCompareComparator()
           
 
Method Summary
 void compare(org.eclipse.emf.ecore.EObject e1, org.eclipse.emf.ecore.EObject e2)
          Compares two EObjects to each other.
 void display()
          Displays the compare result.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EMFCompareComparator

public EMFCompareComparator()
Method Detail

compare

public void compare(org.eclipse.emf.ecore.EObject e1,
                    org.eclipse.emf.ecore.EObject e2)
Compares two EObjects to each other.

Specified by:
compare in interface ESCompare
Parameters:
e1 - first EObject
e2 - second EObject
See Also:
ESCompare.compare(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject)

display

public void display()
Displays the compare result. This method is called if ESCompare.compare(EObject e1, EObject e2) has been called before and only then.

Specified by:
display in interface ESCompare
See Also:
ESCompare.display()


Copyright © 2015. All Rights Reserved.