public interface IWorkbenchAdapter
There is an associate label provider and content provider for showing elements with a registered workbench adapter in JFace structured viewers.
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getChildren(java.lang.Object o)
Returns the children of this object.
|
ImageDescriptor |
getImageDescriptor(java.lang.Object object)
Returns an image descriptor to be used for displaying an object in the workbench.
|
java.lang.String |
getLabel(java.lang.Object o)
Returns the label text for this element.
|
java.lang.Object |
getParent(java.lang.Object o)
Returns the logical parent of the given object in its tree.
|
java.lang.Object[] getChildren(java.lang.Object o)
o - The object to get the children for.ImageDescriptor getImageDescriptor(java.lang.Object object)
null if there is no appropriate image.object - The object to get an image descriptor for.java.lang.String getLabel(java.lang.Object o)
o - The object to get a label for.java.lang.Object getParent(java.lang.Object o)
null if there is no parent, or if this object doesn't
belong to a tree.o - The object to get the parent for.
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.