Help view doesn't update [message #472387] |
Tue, 25 March 2008 07:20 |
Eclipse User |
|
|
|
Originally posted by: torbjorn.ghostwriter.no
I have two views in my RCP application, and in each views's
createPartControl method I have a line like this:
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent,
"com.whatever.viewA");
In contexts.xml (referenced in plugin.xml) I have this:
<contexts>
<context id="viewA" title="One view">
<description>This view is the best!</description>
</context>
<context id="viewB" title="Another View">
<description>No, this is the best view!</description>
</context>
</contexts>
Everything looking good, right? Well, when I run the application and select
view B, the help view shows only the header (About Another View), but when I
select view A the correct help is shown. However, even if I change back to
view B, the help text remains (though the header changes correctly), so it's
like this:
About Another View: This view is the best!
Basically, view A's context description "sticks". Does anyone know what can
cause this?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04159 seconds