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 |
---|---|
Object[] |
getChildren(Object o)
Returns the children of this object.
|
ImageDescriptor |
getImageDescriptor(Object object)
Returns an image descriptor to be used for displaying an object in the workbench.
|
String |
getLabel(Object o)
Returns the label text for this element.
|
Object |
getParent(Object o)
Returns the logical parent of the given object in its tree.
|
Object[] getChildren(Object o)
o
- The object to get the children for.ImageDescriptor getImageDescriptor(Object object)
null
if there is no appropriate image.object
- The object to get an image descriptor for.String getLabel(Object o)
o
- The object to get a label for.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.