Class EMFCompareBuilderConfigurator
java.lang.Object
org.eclipse.emf.compare.rcp.internal.extension.impl.EMFCompareBuilderConfigurator
- All Implemented Interfaces:
IEMFCompareBuilderConfigurator
Engine provider. This class provides engines using registered engines and user preferences.
-
Constructor Summary
ModifierConstructorDescriptionprotected
EMFCompareBuilderConfigurator
(IMatchEngine.Factory.Registry matchEngineFactoryRegistry, IPostProcessor.Descriptor.Registry<String> postProcessorRegistry) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(EMFCompare.Builder builder) Configure aorg.eclipse.emf.compare.EMFCompare.EMFCompare.Builder
using engines from registry and user preferences.Get EMFCompareBuilderConfigurator with EMF Compare default values.
-
Constructor Details
-
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 Details
-
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
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
-