Package org.eclipse.emf.cdo.compare
Klasse CDOComparisonScope.Minimal
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.Minimal
- Alle implementierten Schnittstellen:
com.google.common.base.Predicate<EObject>
,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.Minimal
extends CDOComparisonScope
implements com.google.common.base.Predicate<EObject>
Takes a
view
/transaction
and returns matches
only for the changed elements of the entire content tree of its root resource
.
The advantage of this scope is that CDO-specific mechanisms are used to efficiently (remotely) determine the set of changed objects. Only those and their container
objects are considered as matches, making this scope scale seamlessly with the overall size of a repository.
The following method returns comparisons that are based on this scope algorithm:
- 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 -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
protected void
collectRequiredParentID
(CDOView view, CDOID id, Set<CDOID> requiredParentIDs) protected boolean
static org.eclipse.emf.compare.scope.IComparisonScope
create
(CDOTransaction transaction) static org.eclipse.emf.compare.scope.IComparisonScope
create
(CDOTransaction transaction, CDOViewOpener viewOpener) static org.eclipse.emf.compare.scope.IComparisonScope
static org.eclipse.emf.compare.scope.IComparisonScope
static org.eclipse.emf.compare.scope.IComparisonScope
create
(CDOView leftView, CDOView rightView, CDOView[] originView, Set<CDOID> ids, CDOViewOpener viewOpener) static org.eclipse.emf.compare.scope.IComparisonScope
create
(CDOView leftView, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener) 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
Von Schnittstelle geerbte Methoden com.google.common.base.Predicate
equals
-
Konstruktordetails
-
Minimal
-
-
Methodendetails
-
getChildren
- Angegeben von:
getChildren
in Schnittstelleorg.eclipse.emf.compare.scope.IComparisonScope
-
apply
- Angegeben von:
apply
in Schnittstellecom.google.common.base.Predicate<EObject>
-
collectRequiredParentID
-
collectResourceURIs
protected boolean collectResourceURIs()- Seit:
- 4.6
-
create
-
create
public static org.eclipse.emf.compare.scope.IComparisonScope create(CDOView leftView, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener) - Seit:
- 4.3
-
create
-
create
public static org.eclipse.emf.compare.scope.IComparisonScope create(CDOView leftView, CDOView rightView, CDOView[] originView, Set<CDOID> ids, CDOViewOpener viewOpener) - Seit:
- 4.3
-
create
-
create
public static org.eclipse.emf.compare.scope.IComparisonScope create(CDOTransaction transaction, CDOViewOpener viewOpener) - Seit:
- 4.3
-