Marv
Marv

Reputation: 77

Context Sensitive Help in pure E4 Eclipse RCP Application

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

Upvotes: 1

Views: 555

Answers (3)

Guido
Guido

Reputation: 68

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);

Upvotes: 0

erdal.karaca
erdal.karaca

Reputation: 713

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.

Upvotes: 0

greg-449
greg-449

Reputation: 111142

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.

Upvotes: 0

Related Questions