/******************************************************************************* * Copyright (c) 2006, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ package org.eclipse.emf.compare.diff.merge; import java.util.Map; import org.eclipse.emf.compare.diff.metamodel.DiffElement; /** * This allows the association of mergers to specific {@link DiffElement}. *

* Mergers should implement the interface {@link IMerger} and provide a default, no-arg constructor. This * interface is intended to be implemented for the use of the extension point * org.eclipse.emf.compare.diff.mergerprovider. *

* * @see IMerger * @see MergeFactory * @author Laurent Goubet */ public interface IMergerProvider { /** * This will be called by the merge factory to get a list of all the mergers associated to a given * {@link DiffElement}. * * @return The map allowing us to know which merger should be used for which DiffElement. */ Map, Class> getMergers(); }