| Summary: | Provide API for tooltips on table cells | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Stephan Mann <stephan.mann> | ||||
| Component: | ridget | Assignee: | Thorsten Schenkel <thorsten.schenkel> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | christian.campo | ||||
| Version: | 3.0.0 | ||||||
| Target Milestone: | 3.0.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 346859 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Stephan Mann
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 |