Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 51633 - [Viewers] It is desired to be able to show tooltips for individual items in the TreeViewer
Summary: [Viewers] It is desired to be able to show tooltips for individual items in t...
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 8874
Blocks:
  Show dependency tree
 
Reported: 2004-02-11 09:43 EST by Eugene Ostroukhov CLA
Modified: 2004-09-24 10:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Ostroukhov CLA 2004-02-11 09:43:03 EST
I.e. if I have some tree of the variables (in my project variable is a mapping 
between name and expression) I will show name as a lable and expression as a 
tooltip. Or, I will show filename as a label and full path as a tooltip.
Comment 1 Michael Seele CLA 2004-09-24 03:16:41 EDT
is it not possible to show a tooltip for a specified cell or at least for a row?
when will you work on this enhancement?
Comment 2 Nick Edgar CLA 2004-09-24 10:36:35 EDT
JFace viewers currently provide no support for tooltips.
There are currently no plans to extend JFace in this area.
Also not that SWT does not provide direct support for per-item tooltips.
However, it's possible to emulate in SWT.  See the "create fake tooltips"
snippet at:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/dev.html#snippets

This could be done in conjunction with a viewer.  To obtain the model element
corresponding to a TableItem, use item.getData().
Comment 3 Nick Edgar CLA 2004-09-24 10:42:18 EDT
Marking as wontfix since per-item tooltips are not directly supported by SWT
(see bug 8874).