Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » EHelpService
EHelpService [message #1745201] Thu, 06 October 2016 12:30 Go to next message
Jean-Pascal Laux is currently offline Jean-Pascal LauxFriend
Messages: 81
Registered: December 2011
Member
Hello,

I would like to create my a custom EHelpService implementation but I don't how to register these implementation in my application.

Idea ?

Thanks

Jean-Pascal

[Updated on: Thu, 06 October 2016 13:37]

Report message to a moderator

Re: EHelpService [message #1745765 is a reply to message #1745201] Mon, 17 October 2016 10:14 Go to previous message
Jean-Pascal Laux is currently offline Jean-Pascal LauxFriend
Messages: 81
Registered: December 2011
Member
Hello,

I have solved my problem with this code :
BundleContext bundleContext = FrameworkUtil.getBundle(broker.getClass()).getBundleContext();
if (bundleContext!=null) bundleContext.registerService(EHelpService.class.getName(), new HelpService(), null);

I have used the IEventBroker to get the bundle otherwise bundleContext is null
Previous Topic:Login Dialog is not CCS styled
Next Topic:SWT - Creating child context in ShellActivationListener
Goto Forum:
  


Current Time: Thu Mar 28 20:15:33 GMT 2024

Powered by FUDForum. Page generated in 0.05472 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top