public static class CDOComparisonScope.AllContents extends CDOComparisonScope
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:
CDOComparisonScope.AllContents, CDOComparisonScope.Minimal
Constructor and Description |
---|
CDOComparisonScope.AllContents(Notifier left,
Notifier right,
Notifier origin) |
Modifier and Type | Method and Description |
---|---|
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 . |
Iterator<? extends EObject> |
getChildren(EObject eObject) |
getCoveredEObjects, getCoveredResources, isResolveProxies, setResolveProxies
public static CDOComparisonScope.AllContents create(CDOObject left, CDOView rightView, CDOView[] originView)
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.