Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Register IPartListener2 at start-up using DS.
Register IPartListener2 at start-up using DS. [message #879310] Thu, 31 May 2012 00:29
John Steele is currently offline John SteeleFriend
Messages: 50
Registered: January 2010
Member
I would like to create an DS, which implements IPartListener2, and registers itself with the IPartService.

I have the DS immediate=true, because I need the service to start-up immediately, so that it can start listening for view events. The problem is it requires an active workbench page, which isn't available when the DS is instantiated.

Since the IPartService is not available globally, and only from the workbench window level down, what would you recommend for registering an OSGi service where consumers can expect to get information about all views in visible in the workbench.

Ideally, I would like to avoid having to manually register this listener programmatically because I'm extensively using DS.

Any thoughts or ideas are appreciated.

John

[Updated on: Thu, 31 May 2012 00:33]

Report message to a moderator

Previous Topic:ComponentFactory unsatisfied
Next Topic:A bit lost with CategoryPublisher
Goto Forum:
  


Current Time: Fri Mar 29 06:10:38 GMT 2024

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

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

Back to the top