How to change help directory at runtime [message #474899] |
Tue, 09 December 2008 10:58  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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,
>
|
|
|
Powered by
FUDForum. Page generated in 0.03583 seconds