blob: 3cd3865e6ccec69b702a0b0af33f6177e2f4bc14 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008-2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Julian Sommerfeldt - initial API and implementation
* Edgar Mueller - API annotations
******************************************************************************/
package org.eclipse.emf.emfstore.client.ui;
import org.eclipse.emf.ecore.EObject;
/**
* Interface for extension point. This is used to register new comparators for
* the history browser.
*
* @author groeber
* @author jsommerfeldt
*
* @noextend This interface is not intended to be extended by clients.
*/
public interface ESCompare {
/**
* Compares two EObjects to each other.
*
* @param e1
* first EObject
* @param e2
* second EObject
*/
void compare(EObject e1, EObject e2);
/**
* Displays the compare result. This method is called if {@link #compare(EObject e1, EObject e2)} has been called
* before and only then.
*/
void display();
}