Skip to main content



      Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Infocenter help
Infocenter help [message #469325] Fri, 25 May 2007 09:17 Go to next message
Eclipse UserFriend
I have set up the Info center stadalone application for use with an RCP
3.2 application. For context sensitive help i have a problem i am hoping
someone knows the answer to,it is that the extension point specifies a
file <extension
point="org.eclipse.help.contexts" >
<contexts
file="xyz.xml"/>
</extension>

this file contains the context and topic like so

<contexts> <context id="simple"> <description> This
is a sample F1 help string.</description> <topic
label="topic in another plug-in"
href=" http://127.0.0.1:8700/help/topic/test.doc/foo.html?noframes= true" />
</context> </contexts> What i really don't want to have to do is hard code
the href. Is there a way to dynamically set the href? Otherwise i can see an
configuration nightmare!

Thanks...
Re: Infocenter help [message #469337 is a reply to message #469325] Wed, 30 May 2007 11:02 Go to previous message
Eclipse UserFriend
You should be able to specify your href in one of the following form:

If your doc is coming from the same plug-in:
href="<plugin_relative_path>"
Otherwise:
href="PLUGINS_ROOT/<another_plugin_id>/<plugin_relative_path >"

In your case I believe this would look like this:
href="foo.html"
OR like this:
href="PLUGINS_ROOT/test.doc/foo.html"

The help system will resolve these entries to the correct URL for you. For
more information see the following help doc:

http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/ua_help_setup_infocenter.htm
Re: Infocenter help [message #560377 is a reply to message #469325] Wed, 30 May 2007 11:02 Go to previous message
Eclipse UserFriend
You should be able to specify your href in one of the following form:

If your doc is coming from the same plug-in:
href="<plugin_relative_path>"
Otherwise:
href="PLUGINS_ROOT/<another_plugin_id>/<plugin_relative_path >"

In your case I believe this would look like this:
href="foo.html"
OR like this:
href="PLUGINS_ROOT/test.doc/foo.html"

The help system will resolve these entries to the correct URL for you. For
more information see the following help doc:

http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/ua_help_setup_infocenter.htm
Previous Topic:Index not found when installed via Update Manager
Next Topic:Branded Infocenters on help.eclipse.org
Goto Forum:
  


Current Time: Mon May 12 21:39:07 EDT 2025

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

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

Back to the top