Class KindGroupProvider
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.AbstractDifferenceGroupProvider
org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.KindGroupProvider
- All Implemented Interfaces:
Adapter,Adapter.Internal,IDifferenceGroupProvider,IDifferenceGroupProvider2
This implementation of a
IDifferenceGroupProvider will be used to
group the differences by their kind : additions, deletions, changes and moves.- Since:
- 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.InternalNested classes/interfaces inherited from interface org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.IDifferenceGroupProvider
IDifferenceGroupProvider.ComparisonType, IDifferenceGroupProvider.Descriptor -
Field Summary
Fields inherited from class org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.AbstractDifferenceGroupProvider
activeByDefault, labelFields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<? extends IDifferenceGroup> buildGroups(Comparison comparison2) Builds the groups for this comparison.Methods inherited from class org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.AbstractDifferenceGroupProvider
defaultSelected, dispose, getComparison, getCrossReferenceAdapter, getGroups, getLabel, getTreeNodes, groupsAreBuilt, isAdapterForType, isEnabled, setDefaultSelected, setLabelMethods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, notifyChanged, setTarget, unsetTargetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, notifyChanged, setTarget
-
Constructor Details
-
KindGroupProvider
public KindGroupProvider()
-
-
Method Details
-
buildGroups
Builds the groups for this comparison. The framework expects that all groups are fully initialized ( their sub tree should be built). ExtendingIDifferenceGroupProvider2needs to override this method to provid groups.- Overrides:
buildGroupsin classAbstractDifferenceGroupProvider- Parameters:
comparison2- comparison against which the groups will be built.- Returns:
- Newly built collections of
IDifferenceGroup. - See Also:
-