com.ibm.commons.swt.controls
Interface IToolTipProvider


public interface IToolTipProvider

A ToolTip Provider. Can be used in conjunction with a content provider/widget (such as a tree) to provide tooltips for the selected item, or the item that is being hovered over etc.


Method Summary
 java.lang.String getToolTipText(java.lang.Object element)
          Returns the ToolTip for the given element.
 

Method Detail

getToolTipText

java.lang.String getToolTipText(java.lang.Object element)
Returns the ToolTip for the given element.

Parameters:
element - the element for which to provide the tooltip text
Returns:
the text string used as a tooltip for the element, or null if there is no tooltip for the given object