Package org.eclipse.emf.cdo.compare
Class CDOCompare
java.lang.Object
org.eclipse.emf.cdo.compare.CDOCompare
A class with many overridable factory methods that help to create EMF
comparisons
.- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
A CDO-specificfeature filter
that usesEMFUtil.isPersistent()
to determine whether afeature
istransient
, or not.static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.compare.Comparison
compare
(org.eclipse.emf.compare.scope.IComparisonScope scope) static CDOCompare
create()
protected org.eclipse.emf.compare.EMFCompare
createComparator
(org.eclipse.emf.compare.match.eobject.IEObjectMatcher matcher, org.eclipse.emf.compare.match.IComparisonFactory comparisonFactory) protected org.eclipse.emf.compare.EMFCompare.Builder
protected org.eclipse.emf.compare.match.IComparisonFactory
createComparisonFactory
(org.eclipse.emf.compare.match.IEqualityHelperFactory equalityHelperFactory) protected org.eclipse.emf.compare.conflict.IConflictDetector
protected org.eclipse.emf.compare.diff.IDiffEngine
protected org.eclipse.emf.compare.match.IEqualityHelperFactory
protected org.eclipse.emf.compare.equi.IEquiEngine
protected CDOCompare.CDOIDFunction
protected org.eclipse.emf.compare.match.IMatchEngine.Factory.Registry
createMatchEngineFactoryRegistry
(org.eclipse.emf.compare.match.eobject.IEObjectMatcher matcher, org.eclipse.emf.compare.match.IComparisonFactory comparisonFactory) protected org.eclipse.emf.compare.match.eobject.IdentifierEObjectMatcher
createMatcher
(com.google.common.base.Function<EObject, String> idFunction) protected org.eclipse.emf.compare.postprocessor.IPostProcessor.Descriptor.Registry<?>
protected org.eclipse.emf.compare.req.IReqEngine
static org.eclipse.emf.compare.scope.IComparisonScope
getScope
(org.eclipse.emf.compare.Comparison comparison) Deprecated.static void
setCompareSupplier
(Supplier<CDOCompare> supplier) boolean
-
Constructor Details
-
CDOCompare
public CDOCompare()
-
-
Method Details
-
useRCPRegistries
public boolean useRCPRegistries()- Since:
- 4.6
-
compare
public org.eclipse.emf.compare.Comparison compare(org.eclipse.emf.compare.scope.IComparisonScope scope) -
createIDFunction
-
createMatcher
-
createEqualityHelperFactory
protected org.eclipse.emf.compare.match.IEqualityHelperFactory createEqualityHelperFactory() -
createComparisonFactory
protected org.eclipse.emf.compare.match.IComparisonFactory createComparisonFactory(org.eclipse.emf.compare.match.IEqualityHelperFactory equalityHelperFactory) -
createComparatorBuilder
protected org.eclipse.emf.compare.EMFCompare.Builder createComparatorBuilder()- Since:
- 4.5
-
createComparator
protected org.eclipse.emf.compare.EMFCompare createComparator(org.eclipse.emf.compare.match.eobject.IEObjectMatcher matcher, org.eclipse.emf.compare.match.IComparisonFactory comparisonFactory) -
createMatchEngineFactoryRegistry
protected org.eclipse.emf.compare.match.IMatchEngine.Factory.Registry createMatchEngineFactoryRegistry(org.eclipse.emf.compare.match.eobject.IEObjectMatcher matcher, org.eclipse.emf.compare.match.IComparisonFactory comparisonFactory) -
createDiffEngine
protected org.eclipse.emf.compare.diff.IDiffEngine createDiffEngine() -
createRequirementEngine
protected org.eclipse.emf.compare.req.IReqEngine createRequirementEngine() -
createEquivalenceEngine
protected org.eclipse.emf.compare.equi.IEquiEngine createEquivalenceEngine() -
createPostProcessorRegistry
protected org.eclipse.emf.compare.postprocessor.IPostProcessor.Descriptor.Registry<?> createPostProcessorRegistry() -
createConflictDetector
protected org.eclipse.emf.compare.conflict.IConflictDetector createConflictDetector() -
create
- Since:
- 4.7
-
setCompareSupplier
- Since:
- 4.7
-
getScope
@Deprecated public static org.eclipse.emf.compare.scope.IComparisonScope getScope(org.eclipse.emf.compare.Comparison comparison) Deprecated.As 4.7 useCDOCompareUtil.getScope(Comparison)
.
-
CDOCompareUtil.getScope(Comparison)
.