Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Help view doesn't update
Help view doesn't update [message #610622] Tue, 25 March 2008 03: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?
Previous Topic:external browser support
Next Topic:Help view doesn't update
Goto Forum:
  


Current Time: Mon Sep 01 09:57:32 EDT 2014

Powered by FUDForum. Page generated in 0.01488 seconds