Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to assign help context id to HelpView?
How to assign help context id to HelpView? [message #742415] Thu, 20 October 2011 09:22 Go to previous message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
In our RCP program we use the Eclipse "Help View" to present the
context-sensitive help. But in contrast to other views this view seems
not to assign a help context id to its own view (Typically done via
PlatformUI.getWorkbench().getHelpSystem().setHelp()).

Does there exist a way to assign a user-defined help context id to this
view in a non-intrisive way (I don't want to modify the source code or
bundle that provides this view)?

I can think of a possible way to realize that (untested), but would
prefer a simpler version, if possible: One could add a workbench part
listener and could listen to the activation of the Help View. When this
happens one could call setHelp to the control of this view.

Is someone aware whether the adapter pattern or any similar extension
mechanism can be used to realize this?

Thanks in advance and Greetings from Bremen,

Daniel Krügler
 
Read Message
Read Message
Read Message
Previous Topic:Rebroadcast selection after TableViewer row changed
Next Topic:bad experience with data binding for TableViewer.
Goto Forum:
  


Current Time: Fri May 24 02:46:23 EDT 2013

Powered by FUDForum. Page generated in 0.08445 seconds