| Summary: | Provide tooltip support for TreeViewer | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||
| Component: | JFace | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | ivan | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.4 M5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rüdiger Herrmann
Created attachment 187649 [details]
Enable cell tooltips in TreeViewer
This patch add support for cell tooltips in TreeViewer + all needed client/server re-factorings.
I saw changes regarding cell tooltips for the Tree arrive in CVS (including the JFace API part), but it doesn't seem to work. Am I missing something? Hi Ruediger, could you provide a snippet that doesn't work for you? I extended the TreeViewerExample from the org.eclipse.rap.examples.pages plug-in: * added ColumnViewerToolTipSupport.enableFor( viewer ) after creating the TreeViewers * implemented getToolTipText() in the label provider Is there anything else necessary to get tooltips for the TreeViewer? I did exactly the same testing.... and it works. Make sure that you do this for the second TreeViewer (with columns). Just found that is doesn't work for Tree/TableViewer without columns (first TreeViewer). Thanks for the fast reply, Ivan. I only used the column-less TreeViewer. It works on the one with columns. The cell tooltips for column-less Tree/TableViewer is fixed in CVS HEAD. Is this worth a N&N entry? What do you think? Sure... I plan to write it on Monday :-) |