public class ResourceAttachmentChangeProvider extends Object implements IMergeViewerItemContentProvider
ResourceAttachmentChangeMergeViewerItem.| Constructor and Description |
|---|
ResourceAttachmentChangeProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(Object object)
Indicates whether this provider wants to handle the given
object. |
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. |
public Object getParent(Object object, IMergeViewerItemProviderConfiguration configuration)
object.getParent in interface IMergeViewerItemContentProviderobject - the Object for which the parent is to be determined.configuration - the IMergeViewerItemProviderConfiguration.null if there is none.public Object[] getChildren(Object object, IMergeViewerItemProviderConfiguration configuration)
objectgetChildren in interface IMergeViewerItemContentProviderobject - the Object for which the children are to be determined.configuration - the IMergeViewerItemProviderConfiguration.public boolean hasChildren(Object object, IMergeViewerItemProviderConfiguration configuration)
object has children.hasChildren in interface IMergeViewerItemContentProviderobject - the Object for which it is indicated whether it has children.configuration - the IMergeViewerItemProviderConfiguration.true if the given object has children, false otherwise.public boolean canHandle(Object object)
object.canHandle in interface IOptionalProviderobject - the Object.true if the provider wants to handle the given object, false otherwise.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.