[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.ua] Context Sensitive Help problems

We are trying to develop context-sensitive help for our RCP application, and are running into a number of issues. For some of our views, our documentation is correct and functional. For others, however, we see a variety of behaviors.

- One view produces the correct help content when it gains focus from another view, but does not provide the correct help when you press F1 on the view directly.

- Another view does not find content when F1'd, and shows the help content from a previous view when it gains focus from that view. The "About View Name" header is correct for this view, but the content remains that of the previous view.

- Some of our malfunctioning views display the "Each workbench window contains..." message, while others contain the "Click on any workbench part..." message.

We have examined all the code for these plugins, and the help context seems to be set correctly (the PlatformUI.getWorkbench().getHelpSystem().setHelp() is called from the view's createPartControl()). The context.xml and plugin.xml for the documentation plugin seems correct and well-formed. Using the Plug-In spy, the active help context ID matches up with the ID in the context.xml.


Finally, we have tried deploying this help plugin both in an Infocenter and locally, and have tried both .jar format and as a folder structure. In all cases, the behavior is similar.


Has anyone seen similar behaviors, or have any suggestions on other things we should try?

Thanks very much
Chris