Class ByResourceGroupProvider.ResourceGroup
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.BasicDifferenceGroupImpl
org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.ByResourceGroupProvider.ResourceGroup
- All Implemented Interfaces:
Adapter
,Adapter.Internal
,IDifferenceGroup
- Enclosing class:
- ByResourceGroupProvider
Specialized
BasicDifferenceGroupImpl
for Resources.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
Field Summary
Fields inherited from class org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.BasicDifferenceGroupImpl
children, E_ALL_CONTENTS, filter, image, name
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
Fields inherited from interface org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.IDifferenceGroup
TREE_NODE_DATA
-
Constructor Summary
ConstructorDescriptionResourceGroup
(Comparison comparison, ECrossReferenceAdapter crossReferenceAdapter) . -
Method Summary
Modifier and TypeMethodDescriptionCompute a subTree for each root match of the comparison.void
Builds the sub tree for this group.protected MatchResourceNode
buildSubTree
(MatchResource matchResource, Set<ResourceAttachmentChange> attachmentChanges) Build the sub tree of the givenMatchResource
.Methods inherited from class org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.BasicDifferenceGroupImpl
addDiffNode, buildMatchResourceTrees, buildTree, createChildren, createConflictNode, createDiffNode, createMatchNode, createMatchResourceNode, customize, customize, dispose, doBuildSubTrees, getChildren, getComparison, getImage, getName, getStyledName, getTargetMatch, handleRefiningDiffs, isAdapterForType, isContainmentRefChange, mustDisplayAsDirectChildOfMatch, populateMatchNode, registerCrossReferenceAdapter, unregisterCrossReferenceAdapter
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, notifyChanged, setTarget, unsetTarget
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, notifyChanged, setTarget
-
Constructor Details
-
ResourceGroup
.- See Also:
-
org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.BasicDifferenceGroupImpl#BasicDifferenceGroupImpl(org.eclipse.emf.compare.Comparison)
-
-
Method Details
-
buildSubTree
public void buildSubTree()Description copied from class:BasicDifferenceGroupImpl
Builds the sub tree for this group.- Overrides:
buildSubTree
in classBasicDifferenceGroupImpl
-
buildMatchTrees
Compute a subTree for each root match of the comparison.- Overrides:
buildMatchTrees
in classBasicDifferenceGroupImpl
- Returns:
- the list of matchSubTrees
-
buildSubTree
protected MatchResourceNode buildSubTree(MatchResource matchResource, Set<ResourceAttachmentChange> attachmentChanges) Build the sub tree of the givenMatchResource
.- Overrides:
buildSubTree
in classBasicDifferenceGroupImpl
- Parameters:
matchResource
- the given MatchResource.- Returns:
- the sub tree of the given MatchResource.
- See Also:
-