|Eclipse help system [message #474611]
||Sat, 11 October 2008 15:38
Originally posted by: nospam_kowalskilee.gmail.com|
Steve Bulick wrote:
> I have an action delegate (implements IWorkbenchWindowActionDelegate)
> installed on the Eclipse menu bar behind a custom icon. Its run method,
> which I know is being called, does little more than execute
> PlatformUI.getWorkbench().getHelpSystem().displayHelpResourc e( "/com.sandcherry.voice.help/html/toc.xml");
> in an attempt to open the help ui with our custom help shown in the
> display window and our "book" open in the contents window. The plugin
> name is, of course, "com.sandcherry.voice.help" and the toc.xml file is
> in an html directory immediately under it. Based on the examples I've
> looked at, the plugin appears to be properly formed, i.e., directories
> and files where they should be and all necessary components in place.
> The toc.xml file is properly formed as well. The plugin.xml file looks
> like this
> <extension point="org.eclipse.help.toc">
> <toc file="html/toc.xml" primary="true">
> <index file="html/index.xml"/>
> <binding participantId="org.eclipse.help.base.xhtml"/>
> However, when I click on the icon, I see the Eclipse default help in the
> display instead of ours. Our help book is shown in the contents window
> and can be opened, displayed, and navigated.
> Based on Eclipse documentation, various books, and published examples
> that I've reviewed, my plugin and code look like the ones I've seen,
> except that mine doesn't work.
> I'm using Eclipse 22.214.171.124. This same plugin works with Eclipse 3.2.
> What am I doing wrong? Any insight would be appreciated. Thanks in
> Steve Bulick
re-directing to eclipse.platform.ua newsgroup
Powered by FUDForum
. Page generated in 0.02424 seconds