TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.ui.adapter
Interface IHyadesWorkbenchAdapter

All Superinterfaces:
org.eclipse.ui.model.IWorkbenchAdapter
All Known Implementing Classes:
HyadesWorkbenchAdapter

public interface IHyadesWorkbenchAdapter
extends org.eclipse.ui.model.IWorkbenchAdapter

Hyades extension for the Eclipse's workbench adapter.

Since:
0.0.1

Method Summary
 java.lang.String getDescription(java.lang.Object object)
          Returns the description text for this element.
 boolean hasChildren(java.lang.Object element)
          Returns whether the given element has children.
 
Methods inherited from interface org.eclipse.ui.model.IWorkbenchAdapter
getChildren, getImageDescriptor, getLabel, getParent
 

Method Detail

getDescription

public java.lang.String getDescription(java.lang.Object object)
Returns the description text for this element. Returns an empty string if there is no appropriate description text for this object.

Parameters:
object - The object to get a description for.

hasChildren

public boolean hasChildren(java.lang.Object element)
Returns whether the given element has children.

Intended as an optimization for when the viewer does not need the actual children. Clients may be able to implement this more efficiently than getChildren.

Parameters:
element - the element
Returns:
true if the given element has children, and false if it has no children

TPTP 4.2.0 Platform Project
Public API Specification