Class EMFCompareBuilderConfigurator
- java.lang.Object
-
- org.eclipse.emf.compare.rcp.internal.extension.impl.EMFCompareBuilderConfigurator
-
- All Implemented Interfaces:
IEMFCompareBuilderConfigurator
public class EMFCompareBuilderConfigurator extends Object implements IEMFCompareBuilderConfigurator
Engine provider. This class provides engines using registered engines and user preferences.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EMFCompareBuilderConfigurator(IMatchEngine.Factory.Registry matchEngineFactoryRegistry, IPostProcessor.Descriptor.Registry<String> postProcessorRegistry)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(EMFCompare.Builder builder)
Configure aorg.eclipse.emf.compare.EMFCompare.EMFCompare.Builder
using engines from registry and user preferences.static EMFCompareBuilderConfigurator
createDefault()
Get EMFCompareBuilderConfigurator with EMF Compare default values.
-
-
-
Constructor Detail
-
EMFCompareBuilderConfigurator
protected EMFCompareBuilderConfigurator(IMatchEngine.Factory.Registry matchEngineFactoryRegistry, IPostProcessor.Descriptor.Registry<String> postProcessorRegistry)
Constructor.- Parameters:
matchEngineFactoryRegistry
-IMatchEngine.Factory.Registry
that holds Match Engine factories.postProcessorRegistry
-IPostProcessor.Descriptor.Registry
that holds post processors.
-
-
Method Detail
-
createDefault
public static EMFCompareBuilderConfigurator createDefault()
Get EMFCompareBuilderConfigurator with EMF Compare default values. Get the default preference store, the defaultIMatchEngine.Factory.Registry
and the defaultIPostProcessor.Descriptor.Registry
.- Returns:
- Default EMFCompareBuilderConfigurator;
-
configure
public void configure(EMFCompare.Builder builder)
Configure aorg.eclipse.emf.compare.EMFCompare.EMFCompare.Builder
using engines from registry and user preferences.- Specified by:
configure
in interfaceIEMFCompareBuilderConfigurator
- Parameters:
builder
-org.eclipse.emf.compare.EMFCompare.EMFCompare.Builder
-
-