public class MatchEngineFactoryRegistryWrapper extends Object implements IMatchEngine.Factory.Registry
| Constructor and Description | 
|---|
| MatchEngineFactoryRegistryWrapper(IItemRegistry<IMatchEngine.Factory> registy,
                                 org.eclipse.core.runtime.preferences.IEclipsePreferences preferences)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| IMatchEngine.Factory | add(IMatchEngine.Factory factory)Add to the registry the given  IMatchEngine.Factory. | 
| void | clear()Clear the registry. | 
| IMatchEngine.Factory | getHighestRankingMatchEngineFactory(IComparisonScope scope)Returns the match engine factory, for the given scope, owning the highest ranking. | 
| List<IMatchEngine.Factory> | getMatchEngineFactories(IComparisonScope scope)Returns the list of  IMatchEngine.Factorycontained in the registry. | 
| IMatchEngine.Factory | remove(String className)Remove from the registry the  IMatchEngine.Factorydesignated by the givenString. | 
public MatchEngineFactoryRegistryWrapper(IItemRegistry<IMatchEngine.Factory> registy, org.eclipse.core.runtime.preferences.IEclipsePreferences preferences)
registy - registrypreferences - Preferences holding disabled match engines.public IMatchEngine.Factory getHighestRankingMatchEngineFactory(IComparisonScope scope)
getHighestRankingMatchEngineFactory in interface IMatchEngine.Factory.Registryscope - The given scope.org.eclipse.emf.compare.match.IMatchEngine.Factory.Registry#getHighestRankingMatchEngine(java.lang.Object)public List<IMatchEngine.Factory> getMatchEngineFactories(IComparisonScope scope)
IMatchEngine.Factory contained in the registry.getMatchEngineFactories in interface IMatchEngine.Factory.Registryscope - The scope on which the match engine factories will be applied.IMatchEngine.Factory contained in the registry.org.eclipse.emf.compare.match.IMatchEngine.Factory.Registry#getMatchEngines(org.eclipse.emf.compare.scope.IComparisonScope)public IMatchEngine.Factory add(IMatchEngine.Factory factory)
IMatchEngine.Factory.add in interface IMatchEngine.Factory.Registryfactory - The given IMatchEngine.Factory.IMatchEngine.Factory, or null if there was no entry in the registry for the
         class name.org.eclipse.emf.compare.match.IMatchEngine.Factory.Registry#add(org.eclipse.emf.compare.match.IMatchEngine)public IMatchEngine.Factory remove(String className)
IMatchEngine.Factory designated by the given
 String .remove in interface IMatchEngine.Factory.RegistryclassName - The given String representing a IMatchEngine.Factory.IMatchEngine.Factory designated by the given String.IMatchEngine.Factory.Registry.remove(java.lang.String)public void clear()
clear in interface IMatchEngine.Factory.RegistryIMatchEngine.Factory.Registry.clear()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.