Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Context-sensitive help from multiple plug-ins
Context-sensitive help from multiple plug-ins [message #613214] Tue, 06 May 2008 01:54
Brian Chase is currently offline Brian ChaseFriend
Messages: 9
Registered: July 2009
Junior Member
Hello,
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.

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/ua_help_context_xml.htm


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.

TrayDialog.setDialogHelpAvailable(true);

I created a help plugin and added the following extension point:

<extension point="org.eclipse.help.contexts">
<contexts file="contexts_Workbench.xml" plugin="org.eclipse.ui.ide"/>
</extension>

Inside contexts_Workbench.xml I have the following (plus more but left out)

<context id="missing">
<description>The context help for this user interface CUSTOM element
could not be found.</description>
</context>

<context id="new_project_wizard_context">
<description>Wizard to assist in creating a new project.</description>
<topic label="Im working" href="html/concepts/maintopic.html"/>
</context>

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!
Brian
Previous Topic:Re: Standalone Help
Next Topic:Linking across help plug-ins broken in Web app infocenter
Goto Forum:
  


Current Time: Fri Apr 26 10:50:55 GMT 2024

Powered by FUDForum. Page generated in 0.03079 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top