Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » eclipse standalone contextsensitive help
eclipse standalone contextsensitive help [message #474087] Mon, 23 June 2008 13:25 Go to next message
Marcus is currently offline MarcusFriend
Messages: 16
Registered: July 2009
Junior Member
eclipse standalone contextsensitive help

Hello everyone,

lately we are trying to implement contextsensitiv help for our eclipse
standalone help system. So far it works great. The generated context is
given to the displayHelp-method and we always get forwarded to the given
site we wanted to.

Unfortunately this works only with website pathes without ID extension. If
we try to jump to a specific point of a html-document (via displayHelp(
“/examplePluginFolder/example.html#ID123”) it just moves to the site, but
doesnt link to the specific point(ID) of the document.

Is there any way to fix this problem? Since we really like to link to a
specific point of our help documents we would appreciate any kind of
solution.

We also noticed that Index-Files are using this kind of ID Management as
well, to find a specific point of a html document. So html based links in
our documents are working fine, we just have problems with Application
calls via displayHelp().

thanks for any help,
Steffen
Re: eclipse standalone contextsensitive help [message #474099 is a reply to message #474087] Wed, 25 June 2008 01:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi Steffen,

Can you try using the escape sequence character %23 instead of the #
character?

Such as:
examplePluginFolder/example.html%23ID123

I think that the cause of the symptom might be the same as Bugzilla
entry 104213, and the discussion says that %23 works for showHelpTopic
parameter. So I'm hoping that it will also work for displayHelp().

For reference, here's the URL to the Bugzilla entry:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=104213

Hope this helps,
Lee Anne

Steffen wrote:
> eclipse standalone contextsensitive help
>
> Hello everyone,
>
> lately we are trying to implement contextsensitiv help for our eclipse
> standalone help system. So far it works great. The generated context is
> given to the displayHelp-method and we always get forwarded to the given
> site we wanted to.
> Unfortunately this works only with website pathes without ID extension.
> If we try to jump to a specific point of a html-document (via
> displayHelp( �/examplePluginFolder/example.html#ID123�) it just moves to
> the site, but doesnt link to the specific point(ID) of the document.
>
> Is there any way to fix this problem? Since we really like to link to a
> specific point of our help documents we would appreciate any kind of
> solution.
> We also noticed that Index-Files are using this kind of ID Management as
> well, to find a specific point of a html document. So html based links
> in our documents are working fine, we just have problems with
> Application calls via displayHelp().
>
> thanks for any help,
> Steffen
>
Re: eclipse standalone contextsensitive help [message #474107 is a reply to message #474087] Wed, 25 June 2008 17:51 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
I'm not sure why that didn't work for you. Using Eclipse 3.4 I created
this context help file (I used the plugin with view template which in
3.4 contains context help and used the context help editor to add
another context) and it linked to the right part of the document. Can
you try this and see if it works, and if it doesn't work on your version
of Eclipse try it on 3.4.

<contexts>
<context id="viewer" title="Sample View">
<description>Anchor sample</description>
<topic
href=" /PLUGINS_ROOT/org.eclipse.platform.doc.isv/guide/ua_help_con text.htm "
label="Context-sensitive help">
</topic>
<topic
href=" /org.eclipse.jdt.doc.user/tips/jdt_tips.html#searching_secti on "
label="Anchor Topic"/>
</context>
</contexts>
Re: eclipse standalone contextsensitive help [message #474132 is a reply to message #474107] Mon, 14 July 2008 10:31 Go to previous message
Marcus is currently offline MarcusFriend
Messages: 16
Registered: July 2009
Junior Member
Thanks for your fast replies, here an little update:

Lee Anne: I tried replacing # due to %23, but unfortunately it had the
same effect. As soon as we call displayhelp(
''examplePluginFolder/example.html%23ID123'' ); we get forwarded to the
right site, but it aint moving to the specific anchor ID123.

Chris: I just replaced the old Help-Plugins with the new ones from 3.4 and
now it works perfectly fine.

Thanks to both of you!
Steffen
Re: eclipse standalone contextsensitive help [message #617652 is a reply to message #474087] Wed, 25 June 2008 01:27 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi Steffen,

Can you try using the escape sequence character %23 instead of the #
character?

Such as:
examplePluginFolder/example.html%23ID123

I think that the cause of the symptom might be the same as Bugzilla
entry 104213, and the discussion says that %23 works for showHelpTopic
parameter. So I'm hoping that it will also work for displayHelp().

For reference, here's the URL to the Bugzilla entry:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=104213

Hope this helps,
Lee Anne

Steffen wrote:
> eclipse standalone contextsensitive help
>
> Hello everyone,
>
> lately we are trying to implement contextsensitiv help for our eclipse
> standalone help system. So far it works great. The generated context is
> given to the displayHelp-method and we always get forwarded to the given
> site we wanted to.
> Unfortunately this works only with website pathes without ID extension.
> If we try to jump to a specific point of a html-document (via
> displayHelp( �/examplePluginFolder/example.html#ID123�) it just moves to
> the site, but doesnt link to the specific point(ID) of the document.
>
> Is there any way to fix this problem? Since we really like to link to a
> specific point of our help documents we would appreciate any kind of
> solution.
> We also noticed that Index-Files are using this kind of ID Management as
> well, to find a specific point of a html document. So html based links
> in our documents are working fine, we just have problems with
> Application calls via displayHelp().
>
> thanks for any help,
> Steffen
>
Re: eclipse standalone contextsensitive help [message #617655 is a reply to message #474087] Wed, 25 June 2008 17:51 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
I'm not sure why that didn't work for you. Using Eclipse 3.4 I created
this context help file (I used the plugin with view template which in
3.4 contains context help and used the context help editor to add
another context) and it linked to the right part of the document. Can
you try this and see if it works, and if it doesn't work on your version
of Eclipse try it on 3.4.

<contexts>
<context id="viewer" title="Sample View">
<description>Anchor sample</description>
<topic
href=" /PLUGINS_ROOT/org.eclipse.platform.doc.isv/guide/ua_help_con text.htm "
label="Context-sensitive help">
</topic>
<topic
href=" /org.eclipse.jdt.doc.user/tips/jdt_tips.html#searching_secti on "
label="Anchor Topic"/>
</context>
</contexts>
Re: eclipse standalone contextsensitive help [message #618978 is a reply to message #474107] Mon, 14 July 2008 10:31 Go to previous message
Marcus is currently offline MarcusFriend
Messages: 16
Registered: July 2009
Junior Member
Thanks for your fast replies, here an little update:

Lee Anne: I tried replacing # due to %23, but unfortunately it had the
same effect. As soon as we call displayhelp(
''examplePluginFolder/example.html%23ID123'' ); we get forwarded to the
right site, but it aint moving to the specific anchor ID123.

Chris: I just replaced the old Help-Plugins with the new ones from 3.4 and
now it works perfectly fine.

Thanks to both of you!
Steffen
Previous Topic:Re: Accessing help from an eclipse plug-in
Next Topic:Cheat Sheet
Goto Forum:
  


Current Time: Wed Apr 24 23:05:44 GMT 2024

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

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

Back to the top