Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 281068 - [ToolTip] Use one instance of qx.ui.popup.ToolTip only
Summary: [ToolTip] Use one instance of qx.ui.popup.ToolTip only
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.3 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: sr121
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 08:58 EDT by Tim Buschtoens CLA
Modified: 2009-07-01 07:15 EDT (History)
0 users

See Also:


Attachments
patch implementing the requested feature (4.86 KB, patch)
2009-06-22 09:02 EDT, Tim Buschtoens CLA
ruediger.herrmann: iplog+
Details | Diff
Tooltip patch (5.01 KB, patch)
2009-07-01 04:52 EDT, Rüdiger Herrmann CLA
no flags Details | Diff
Further improved version of the patch (4.95 KB, patch)
2009-07-01 06:54 EDT, Rüdiger Herrmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2009-06-22 08:58:07 EDT
Currently, for all widgets that have a tooltip, an instance of qx.ui.popup.ToolTip is created. Since only one tooltip can be displayed at a time and all tooltips look alike (excluding the displayed text), one instance of ToolTip could be used for all Widgets.
Comment 1 Tim Buschtoens CLA 2009-06-22 09:02:43 EDT
Created attachment 139744 [details]
patch implementing the requested feature

Creates the singleton "org.eclipse.rwt.widgets.ToolTip" that can be used for all widgets. WidgetManager.js and QooxdooResourcesUtil.java are adjusted to use the singleton.
Comment 2 Rüdiger Herrmann CLA 2009-07-01 04:52:16 EDT
Created attachment 140577 [details]
Tooltip patch

Improved version of the first patch
Comment 3 Rüdiger Herrmann CLA 2009-07-01 06:54:02 EDT
Created attachment 140583 [details]
Further improved version of the patch
Comment 4 Rüdiger Herrmann CLA 2009-07-01 07:04:26 EDT
Committed the latest patch to HEAD and v12_Maintenance