org.eclipse.emf.cdo.compare
Class CDOComparisonScope.AllContents
java.lang.Object
AbstractComparisonScope
org.eclipse.emf.cdo.compare.CDOComparisonScope
org.eclipse.emf.cdo.compare.CDOComparisonScope.AllContents
- Enclosing class:
- CDOComparisonScope
- public static class CDOComparisonScope.AllContents
- extends CDOComparisonScope
Takes an arbitrary object
(including resource nodes
)
and returns matches
for all elements of its content 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:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDOComparisonScope.AllContents
public CDOComparisonScope.AllContents(Notifier left,
Notifier right,
Notifier origin)
getChildren
public Iterator<? extends EObject> getChildren(EObject eObject)
create
public static CDOComparisonScope.AllContents create(CDOObject left,
CDOView rightView,
CDOView[] originView)
- Takes an arbitrary
object
(including resource nodes
) and returns matches
for all elements of its content 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.
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.