Context Sensitive Help in pure E4 Eclipse RCP Application

553 views Asked by At

I'm new to Eclipse E4 RCP and am looking for some guidance on how to implement a light-weight context-sensitive help solution in a pure E4 Eclipse RCP application. I'm hoping to have this work in a similar format to other applications that I've seen but are authored in Eclipse RCP 3.x, that is, in a window as part of the E4 RCP application, and not launching an external browser.

Any suggestions on where I might find some definitive information on this E4 Context-Sensitive Help Implementation / functionality?

Any suggestions on tutorials would be most welcomed.

Thank you in advance for your help.

Marv

3

There are 3 answers

4
greg-449 On BEST ANSWER

The e4 code defines an EHelpService service, but there is no standard implementation of this service.

So basic e4 code has no help system available.

1
erdal.karaca On

Eclipse 4.6 M7 added support for context sensitive help:

Support for setting the help ID in Eclipse 4 application: https://www.eclipse.org/eclipse/news/4.6/M7/

For this to work, I would assume that the help system will work with E4.

0
Guido On

E4 defines an EHelpService, as greg-449 described. But by default there no service registered in context. You can register a EHelpService by your self with an own or the 3.x implementation.

bundleContext.registerService(EHelpService.class, new HelpServiceImpl(), null);