|Context-sensitive help from multiple plug-ins [message #613214]
||Tue, 06 May 2008 01:54
| Brian Chase
Registered: July 2009
I am building an RCP application where I want to provide my own help
contents for standard screens such as the Import Wizard, Export Wizard
and New Project wizard. After reading the following Eclipse help page,
it seems easy... but its not working.
Here's what I've done:
I've added the required help plugins, org.eclipse.help,
org.eclipse.help.ui, org.eclipse.help.webapp and all their required
dependencies. This works fine, the help window will open and serve help
pages in my app.
I added this line to the initialize method of my WorkbenchAdvisor.
This gives me the ? question mark button on my Eclipse wizard pages.
I created a help plugin and added the following extension point:
<contexts file="contexts_Workbench.xml" plugin="org.eclipse.ui.ide"/>
Inside contexts_Workbench.xml I have the following (plus more but left out)
<description>The context help for this user interface CUSTOM element
could not be found.</description>
<description>Wizard to assist in creating a new project.</description>
<topic label="Im working" href="html/concepts/maintopic.html"/>
When I click the ? question mark buttton on the New project wizard, the
tray opens up on the right and the help info is visible. Unfortunately,
I do not see the contents defined by id="new_project_wizard_context".
Instead I see the message defined as id="missing" with my 'custom'
message. At least I know that my help plugin is visible to my RCP app,
but it appears my context ID is not correct. I've tried a number of
variations on this context ID however nothing has worked. Please let me
know the right way to get this working.
Thanks in advance!
Powered by FUDForum
. Page generated in 0.03264 seconds