Package org.eclipse.emf.cdo.compare

# Klasse 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

Alle implementierten Schnittstellen:
  `Adapter`, `Adapter.Internal`, `org.eclipse.emf.compare.scope.IComparisonScope`, `org.eclipse.emf.compare.scope.IComparisonScope2`, `org.eclipse.emf.compare.utils.IDiagnosable`

Umschließende Klasse:
  `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:

- `CDOCompareUtil.compare(CDOObject, CDOView, CDOView[])`

Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

## Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.compare.CDOComparisonScope

`CDOComparisonScope.AllContents, CDOComparisonScope.Minimal`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.common.notify.Adapter

`Adapter.Internal`

## Feldübersicht

### Von Klasse geerbte Felder org.eclipse.emf.compare.scope.AbstractComparisonScope

`allInvolvedResourceURIs, diagnostic, left, nsURIs, origin, resourceURIs, right`

### Von Klasse geerbte Felder org.eclipse.emf.common.notify.impl.AdapterImpl

`target`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`AllContents(Notifier left, Notifier right, Notifier origin)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`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`.
`static CDOComparisonScope.AllContents`
`create(CDOObject left, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener)`
Takes an arbitrary `object` (including `resource nodes`) and returns `matches` for all elements of its `content tree`.
`Iterator<? extends EObject>`
`getChildren(EObject eObject)`

### Von Klasse geerbte Methoden org.eclipse.emf.cdo.compare.CDOComparisonScope

`getCoveredEObjects, getCoveredResources, isResolveProxies, setResolveProxies`

### Von Klasse geerbte Methoden org.eclipse.emf.compare.scope.AbstractComparisonScope

`getAllInvolvedResourceURIs, getDiagnostic, getLeft, getNsURIs, getOrigin, getResourceURIs, getRight, isAdapterForType, setDiagnostic`

### Von Klasse geerbte Methoden org.eclipse.emf.common.notify.impl.AdapterImpl

`getTarget, notifyChanged, setTarget, unsetTarget`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Konstruktordetails

### AllContents

public AllContents(Notifier left, Notifier right, Notifier origin)

## Methodendetails

### 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.

### create

public static CDOComparisonScope.AllContents create(CDOObject left, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener)
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.

Seit:
  4.3