Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 152330 - [Contributions] Need a way to provide F1 Help for toolbar items
Summary: [Contributions] Need a way to provide F1 Help for toolbar items
Status: CLOSED DUPLICATE of bug 20226
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1.2   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 10:23 EDT by Paul E. Keyser CLA
Modified: 2010-10-22 05:25 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul E. Keyser CLA 2006-07-31 10:23:25 EDT
The normal way to use Toolbar is to add an IAction to it. How then to get the *button* created by the Toolbar for that IAction so as to be able to call <code>PlatformUI.getWorkbench().getHelpSystem().setHelp(control, HELP_PLUGIN + id)</code>, where HELP_PLUGIN = "com.mun.ist.my.help" or whatever?

This comes up in two ways:
a) adding items to the main toolbar (I add them using plugin.xml, where you can specify a help-id, which works for the menu-item but not the toolbar);

b) creating one's own Toolbar somewhere, and adding an IAction to it.
Comment 1 Paul Webster CLA 2007-04-05 19:05:21 EDT
Assigning to component owner
PW
Comment 2 Dani Megert CLA 2010-10-22 05:25:00 EDT

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