public interface IDifferenceGroupProvider extends Adapter
Modifier and Type | Interface and Description |
---|---|
static class |
IDifferenceGroupProvider.ComparisonType
Type of comparison a
IDifferenceGroupProvider can handle. |
static interface |
IDifferenceGroupProvider.Descriptor
A descriptor that can create adifference group provider.
|
Adapter.Internal
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose this difference group provider.
|
Collection<? extends IDifferenceGroup> |
getGroups(Comparison comparison)
This will be called internally by the grouping actions in order to determine how the differences should
be grouped in the structural view.
|
List<TreeNode> |
getTreeNodes(EObject eObject)
Returns all
TreeNode s that are wrapping the given eObject . |
boolean |
isEnabled(IComparisonScope scope,
Comparison comparison)
Returns the activation condition based on the scope and comparison objects.
|
getTarget, isAdapterForType, notifyChanged, setTarget
Collection<? extends IDifferenceGroup> getGroups(Comparison comparison)
comparison
- The comparison which is to be displayed in the structural view. By default, its containment
tree will be displayed.null
, we'll fall back to the default behavior.boolean isEnabled(IComparisonScope scope, Comparison comparison)
scope
- The scope on which the group provider will be applied.comparison
- The comparison which is to be displayed in the structural view.void dispose()
List<TreeNode> getTreeNodes(EObject eObject)
TreeNode
s that are wrapping the given eObject
. It internally use a cross
reference adapter.eObject
- the object from which we want inverse reference.TreeNode
s targeting the given eObject
through
TreePackage.Literals.TREE_NODE__DATA
.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.