[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.ua] IHelpContentProvider is never called

Hi

I'm trying to add some context sensitive help to my RCP application. My editor adapts to IContextProvider to provide the correct IContext, which is generated on the fly.

When I open the dynamic help (F1), the "Related Topics" view is shown correctly, but when I click one of the links, I get a HTTP error 404 from the ProxyServlet. What I would like to see is a HTML file from another plugin, so the URL looks like /my.plugin.id/myfile.html.

As this did not work, I wrote my own IHelpContentProducer which should open the file and return an InputStream. I registered my class in the plugin.xml as a contentProducer in the extension point org.eclipse.help.contentProducer. But this does not work neither. The method getInputStream() of my IHelpContentProducer is never called.

What am I missing here? How can I get the IHelpContentProducer working? My target platform is Eclipse 3.5.

Thanks for any help

Roland