public interface IMergeViewerItemContentProvider extends IOptionalProvider
tree content providers
for the comparison content
merge viewer.Modifier and Type | Method and Description |
---|---|
Object[] |
getChildren(Object object,
IMergeViewerItemProviderConfiguration configuration)
Determine the children of the given
object |
Object |
getParent(Object object,
IMergeViewerItemProviderConfiguration configuration)
Determine the parent of the given
object . |
boolean |
hasChildren(Object object,
IMergeViewerItemProviderConfiguration configuration)
Indicates whether the given
object has children. |
canHandle
Object getParent(Object object, IMergeViewerItemProviderConfiguration configuration)
object
.object
- the Object
for which the parent is to be determined.configuration
- the IMergeViewerItemProviderConfiguration
.null
if there is none.Object[] getChildren(Object object, IMergeViewerItemProviderConfiguration configuration)
object
object
- the Object
for which the children are to be determined.configuration
- the IMergeViewerItemProviderConfiguration
.boolean hasChildren(Object object, IMergeViewerItemProviderConfiguration configuration)
object
has children.object
- the Object
for which it is indicated whether it has children.configuration
- the IMergeViewerItemProviderConfiguration
.true
if the given object has children, false
otherwise.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.