Bug 194930 - [JFace][ToolTip] Provide support for SWT.BALLON styled widgets
Summary: [JFace][ToolTip] Provide support for SWT.BALLON styled widgets
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-29 11:51 EDT by Irum Godil CLA
Modified: 2019-09-06 16:16 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Irum Godil CLA 2007-06-29 11:51:09 EDT
The org.eclipse.swt.widgets.Tooltip provides very little capability for tooltips styles. For instance there is no support for changing colors or fonts. 

Please see the email threads below for this feature request: 
------------------------------------------------------------------------------

Irum Godil schrieb:

Hi,
I am using the org.eclipse.swt.widgets.Tooltip class to show tooltips in various places. However, I am noticing that this class provides very limited custom functionality.
For instance, I would like to set a different background color on the tooltip, or list items in a bullet form.

 From the newsgroup postings I have seen that I can create a StyledText control inside my own shell, however the problem there is that I am unable to show my tooltip as a balloon. I cannot find any control that I could set as a balloon style and set my custom fonts/colors on.
Can somebody please help me with this. What is the best solution for this?

Thanks.
Regards,
Irum G.
---------------------------------------------------------------------------
Response from Tom Schindl:


Well, JFace provides a base class to create really fancy tooltips although til now nobody has implement a ballon feature.

I think this is done using Shell#setRegion() or something like that. So an implementation doesn't sound to hard (in fact you can maybe copy the algorithm from the SWT-Tooltip)

Maybe we could support this Ballon-Style in 3.4 out of the box. Would you mind filing a bug and CC'ing me?

Tom
Comment 1 Thomas Schindl CLA 2008-01-18 17:49:15 EST
any volunteers?
Comment 2 Thomas Schindl CLA 2010-01-28 17:10:52 EST
multi change because of intenion of stepping back as platform-ui committer
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:16:01 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.