Skip to main content



      Home
Home » Eclipse Projects » Platform - User Assistance (UA) » How to change help directory at runtime
How to change help directory at runtime [message #474899] Tue, 09 December 2008 10:58 Go to next message
Eclipse UserFriend
Hello,

I'd like to set the online help contents of my RCP application, chosing
one html directory or another depending on some runtime parameters.
How is it possible?
(I tried to change the HELP_DATA property with
initializeDefaultPreferences, but this method is never called.)

Thanks in advance,

--
Patrick
Re: How to change help directory at runtime [message #474903 is a reply to message #474899] Wed, 10 December 2008 17:19 Go to previous message
Eclipse UserFriend
HELP_DATA sounds like the best approach. You can use the plugin
customization mechanism to point to a different customization file which
uses a different location for help data. I haven't worked too much with
RCPs so I'm not too familiar with how you specify the
plugin_customization for an RCP but I would expect that there is a way
to do this.

Patrick Godeau wrote:
> Hello,
>
> I'd like to set the online help contents of my RCP application, chosing
> one html directory or another depending on some runtime parameters.
> How is it possible?
> (I tried to change the HELP_DATA property with
> initializeDefaultPreferences, but this method is never called.)
>
> Thanks in advance,
>
Re: How to change help directory at runtime [message #622679 is a reply to message #474899] Wed, 10 December 2008 17:19 Go to previous message
Eclipse UserFriend
HELP_DATA sounds like the best approach. You can use the plugin
customization mechanism to point to a different customization file which
uses a different location for help data. I haven't worked too much with
RCPs so I'm not too familiar with how you specify the
plugin_customization for an RCP but I would expect that there is a way
to do this.

Patrick Godeau wrote:
> Hello,
>
> I'd like to set the online help contents of my RCP application, chosing
> one html directory or another depending on some runtime parameters.
> How is it possible?
> (I tried to change the HELP_DATA property with
> initializeDefaultPreferences, but this method is never called.)
>
> Thanks in advance,
>
Previous Topic:Dynamic Help not working
Next Topic:rcp help not coming in product
Goto Forum:
  


Current Time: Fri Jun 13 13:31:43 EDT 2025

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

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

Back to the top