Interface IWorkbenchAdapter
- All Known Subinterfaces:
IDeferredWorkbenchAdapter
- All Known Implementing Classes:
AdaptableList, BreakpointTypeCategory, DebugElementWorkbenchAdapter, DeferredDebugElementWorkbenchAdapter, PendingUpdateAdapter, WorkbenchAdapter
public interface IWorkbenchAdapter
This adapter interface provides visual presentation and hierarchical
structure for workbench elements, allowing them to be displayed in the UI
without having to know the concrete type of the element.
There is an associate label provider and content provider for showing elements with a registered workbench adapter in JFace structured viewers.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionObject[]Returns the children of this object.getImageDescriptor(Object object) Returns an image descriptor to be used for displaying an object in the workbench.Returns the label text for this element.Returns the logical parent of the given object in its tree.
-
Method Details
-
getChildren
-
getImageDescriptor
Returns an image descriptor to be used for displaying an object in the workbench. Returnsnullif there is no appropriate image.- Parameters:
object- The object to get an image descriptor for.- Returns:
- ImageDescriptor
-
getLabel
-
getParent
-