org.eclipse.emf.emfstore.internal.client.ui.views.historybrowserview
Class HistoryCompare
java.lang.Object
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
HistoryCompare
public HistoryCompare()
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 comparee2
- EObject two to compare
Copyright © 2015. All Rights Reserved.