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 Godeau
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 Goldthorpe
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 Goldthorpe
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:rcp help not coming in product
Next Topic:Internationalize RCP help
Goto Forum:
  


Current Time: Wed Oct 01 20:20:23 GMT 2014

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

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