Package org.eclipse.emf.cdo.compare
Class CDOComparisonScope.AllContents
- java.lang.Object
- 
- org.eclipse.emf.common.notify.impl.AdapterImpl
- 
- org.eclipse.emf.compare.scope.AbstractComparisonScope
- 
- org.eclipse.emf.cdo.compare.CDOComparisonScope
- 
- org.eclipse.emf.cdo.compare.CDOComparisonScope.AllContents
 
 
 
 
- 
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter,- org.eclipse.emf.common.notify.Adapter.Internal,- org.eclipse.emf.compare.scope.IComparisonScope,- org.eclipse.emf.compare.scope.IComparisonScope2,- org.eclipse.emf.compare.utils.IDiagnosable
 - Enclosing class:
- CDOComparisonScope
 
 public static class CDOComparisonScope.AllContents extends CDOComparisonScope Takes an arbitraryobject(includingresource nodes) and returnsmatchesfor all elements of itscontent tree. This scope has the advantage that the comparison can be rooted at specific objects that are different from (below of) the root resource. The disadvantage is that all the transitive children of this specific object are matched, whether they differ or not. Major parts of huge repositories can be loaded to the client side easily, if no attention is paid. The following method returns comparisons that are based on this scope algorithm:- Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.emf.cdo.compare.CDOComparisonScopeCDOComparisonScope.AllContents, CDOComparisonScope.Minimal
 
- 
 - 
Constructor SummaryConstructors Constructor Description AllContents(org.eclipse.emf.common.notify.Notifier left, org.eclipse.emf.common.notify.Notifier right, org.eclipse.emf.common.notify.Notifier origin)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CDOComparisonScope.AllContentscreate(CDOObject left, CDOView rightView, CDOView[] originView)Takes an arbitraryobject(includingresource nodes) and returnsmatchesfor all elements of itscontent tree.static CDOComparisonScope.AllContentscreate(CDOObject left, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener)Takes an arbitraryobject(includingresource nodes) and returnsmatchesfor all elements of itscontent tree.java.util.Iterator<? extends org.eclipse.emf.ecore.EObject>getChildren(org.eclipse.emf.ecore.EObject eObject)- 
Methods inherited from class org.eclipse.emf.cdo.compare.CDOComparisonScopegetCoveredEObjects, getCoveredResources, isResolveProxies, setResolveProxies
 - 
Methods inherited from class org.eclipse.emf.compare.scope.AbstractComparisonScopegetAllInvolvedResourceURIs, getDiagnostic, getLeft, getNsURIs, getOrigin, getResourceURIs, getRight, isAdapterForType, setDiagnostic
 
- 
 
- 
- 
- 
Method Detail- 
getChildrenpublic java.util.Iterator<? extends org.eclipse.emf.ecore.EObject> getChildren(org.eclipse.emf.ecore.EObject eObject) 
 - 
createpublic static CDOComparisonScope.AllContents create(CDOObject left, CDOView rightView, CDOView[] originView) Takes an arbitraryobject(includingresource nodes) and returnsmatchesfor all elements of itscontent tree. This scope has the advantage that the comparison can be rooted at specific objects that are different from (below of) the root resource. The disadvantage is that all the transitive children of this specific object are matched, whether they differ or not. Major parts of huge repositories can be loaded to the client side easily, if no attention is paid.
 - 
createpublic static CDOComparisonScope.AllContents create(CDOObject left, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener) Takes an arbitraryobject(includingresource nodes) and returnsmatchesfor all elements of itscontent tree. This scope has the advantage that the comparison can be rooted at specific objects that are different from (below of) the root resource. The disadvantage is that all the transitive children of this specific object are matched, whether they differ or not. Major parts of huge repositories can be loaded to the client side easily, if no attention is paid.- Since:
- 4.3
 
 
- 
 
-