Interface IDifferenceGroup
- All Superinterfaces:
Adapter
- All Known Implementing Classes:
BasicDifferenceGroupImpl
,ByResourceGroupProvider.ResourceGroup
,ThreeWayComparisonGroupProvider.ConflictsGroupImpl
This interface represents an EMF Compare "group" of differences that can be displayed in the structural
differences viewer of the UI.
- Since:
- 4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
Field Summary
Modifier and TypeFieldDescriptionFunction that retrieve the data of the given TreeNode. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Dispose this group provider.The list of TreeNode containded in this group.org.eclipse.swt.graphics.Image
getImage()
The icon that is to be used for this group in the compare UI.getName()
A human-readable label for this group.The styled label for the this group.Methods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, isAdapterForType, notifyChanged, setTarget
-
Field Details
-
TREE_NODE_DATA
Function that retrieve the data of the given TreeNode.
-
-
Method Details
-
getName
String getName()A human-readable label for this group.- Returns:
- A human-readable label for this group that can be displayed to the user.
-
getStyledName
IStyledString.IComposedStyledString getStyledName()The styled label for the this group. This will be displayed in the EMF Compare UI.- Returns:
- A human-readable styled label for this group that can be displayed to the user.
-
getImage
org.eclipse.swt.graphics.Image getImage()The icon that is to be used for this group in the compare UI.- Returns:
- Icon that is to be used for this group in the compare UI. If
null
, a default image will be used instead.
-
getChildren
The list of TreeNode containded in this group.- Returns:
- the list of TreeNode containded in this group.
-
dispose
void dispose()Dispose this group provider.
-