Community
Participate
Working Groups
Please provide an API to set tooltips on table cells. This is supported by JFace but there is no ridget API in Riena. http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet037FancyCustomTooltips.java?view=markup
The API of the TableRidget has a new method: setNativeToolTip(boolean) This allows to decide between two different implementation for tool tip. 1. native: displays the SWT tool tips 2. not native: uses JFace tool tips The JFace tool tips can be customized by the developer. Therefore the interface IColumnFormatter has some new methods (e.g. getToolTipBackgroundColor, getToolTipImage). Both implementations (native and JFace) can display different tool tip texts for every cell. The developer must implement the method IColumnFormatter.getToolTip(Object) to return the text of the cell tool tip.
Created attachment 197071 [details] TableRidget with JFace tool tips for cells
The patch also includes the changes of the bug 346859.
patch commited