| [news.eclipse.platform.rcp] Context sensitive help |
|
Hello,
I tried to get the contect sensitive help to work but up to now no success. What I did: 1. I created a sample RCP application using the RCP Mail Template, the ID is de.xyz.application. 2. In the View.java in method createPartControl I
added PlatformUI.getWorkbench().getHelpSystem().setHelp(parent,
"de.xyz.application.myContextId");
3. I created an extension org.eclipse.help.contexts and specified the file src/contextHelp.xml 4. The file contextHelp.xml I placed in the src folder, here the file content: <?xml version="1.0" encoding="UTF-8"?> <?NLS TYPE="org.eclipse.help.contexts"?> <contexts> <context id="myContextId" title="CSH for text"> <description>Help help help</description> <topic href="" label="CSH for Text"/> </context> </contexts> 5. I created a csh.html file showing
HELLO
If I run the
application and press F1 in the Message view nothing happens, really
nothing.
What am I missing? Do I have to add a listener somwhere? Any help is highly appreciated!
Thanks!
|