Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319693 - CommandContributionItem.getToolTipText() should be API
Summary: CommandContributionItem.getToolTipText() should be API
Status: CLOSED DUPLICATE of bug 276185
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2010-07-13 08:10 EDT by Martin Oberhuber CLA
Modified: 2010-08-19 09:33 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 Martin Oberhuber CLA 2010-07-13 08:10:24 EDT
+++ This bug was initially created as a clone of Bug #319618 +++

The RSE menu handler provides a feature that allows displaying a tooltip text for the selected menu item in the status bar. This is being used for better explaining what any given menu item is about to do, and we want to leverage this functionality in our product.

The tooltip text for a menu item could be retrieved easily with the old action framework. With the new command framework, it is no longer possible to retrieve the tooltip text for a command contribution. This is not understandable, since the tooltip text can be contributed through the commands extension point.

Bug 319618 contains a patch using introspection for retrieving the tooltip text from its private method. We want to avoid using introspection and have official API for this instead.

Corresponding code is in method widgetArmed() in
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewMenuListener.java?root=DSDP_Project&view=markup
requirements.
Comment 1 Paul Webster CLA 2010-07-13 08:16:24 EDT
I'll get this in for 3.7 M1
PW

*** This bug has been marked as a duplicate of bug 276185 ***