Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:58 Go to next message
Patrick Godeau is currently offline Patrick GodeauFriend
Messages: 64
Registered: July 2009
Member
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 22:19 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
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 22:19 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
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 Mar 29 01:35:32 GMT 2024

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

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

Back to the top