org.eclipse.emf.emfstore.internal.client.ui.views.historybrowserview
Class HistoryCompare

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.ui.views.historybrowserview.HistoryCompare

public class HistoryCompare
extends Object

Handles registered Compare types for the extension point: org.eclipse.emf.emfstore.client.ui.views.historybrowsercomparator

Author:
groeber

Constructor Summary
HistoryCompare()
           
 
Method Summary
static void handleRegisteredExtensions(org.eclipse.emf.ecore.EObject e1, org.eclipse.emf.ecore.EObject e2)
          This function calls ESCompare.compare(EObject e1, EObject e2)and then ESCompare.display() for all registered extensions.
static boolean hasRegisteredExtensions()
          This function tells you if there is a Comparator registered on the extension point
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryCompare

public HistoryCompare()
Method Detail

hasRegisteredExtensions

public static boolean hasRegisteredExtensions()
This function tells you if there is a Comparator registered on the extension point

Returns:
true if there is an extension or false if not

handleRegisteredExtensions

public static void handleRegisteredExtensions(org.eclipse.emf.ecore.EObject e1,
                                              org.eclipse.emf.ecore.EObject e2)
This function calls ESCompare.compare(EObject e1, EObject e2)and then ESCompare.display() for all registered extensions.

Parameters:
e1 - EObject one to compare
e2 - EObject two to compare


Copyright © 2015. All Rights Reserved.