Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse help system
Eclipse help system [message #332216] Fri, 10 October 2008 23:08 Go to next message
Steve Bulick is currently offline Steve BulickFriend
Messages: 2
Registered: July 2009
Junior Member
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

<plugin>
<extension point="org.eclipse.help.toc">
<toc file="html/toc.xml" primary="true">
</toc>
</extension>
<extension
point="org.eclipse.help.index">
<index file="html/index.xml"/>
</extension>
<extension
point="org.eclipse.help.base.luceneSearchParticipants">
<binding participantId="org.eclipse.help.base.xhtml"/>
</extension>

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 3.3.1.1. This same plugin works with Eclipse 3.2. What
am I doing wrong? Any insight would be appreciated. Thanks in advance.

Steve Bulick
Eclipse help system [message #332219 is a reply to message #332216] Sat, 11 October 2008 15:38 Go to previous message
Eclipse UserFriend
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
>
> <plugin>
> <extension point="org.eclipse.help.toc">
> <toc file="html/toc.xml" primary="true">
> </toc>
> </extension>
> <extension
> point="org.eclipse.help.index">
> <index file="html/index.xml"/>
> </extension>
> <extension
> point="org.eclipse.help.base.luceneSearchParticipants">
> <binding participantId="org.eclipse.help.base.xhtml"/>
> </extension>
>
> 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 3.3.1.1. This same plugin works with Eclipse 3.2.
> What am I doing wrong? Any insight would be appreciated. Thanks in
> advance.
>
> Steve Bulick
>

re-directing to eclipse.platform.ua newsgroup
Previous Topic:Re: Building a modified version of org.eclipse.jdt.core
Next Topic:Mail server for testing
Goto Forum:
  


Current Time: Wed Jul 17 13:47:39 GMT 2024

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

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

Back to the top