Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Do not use workbench as service locator
Do not use workbench as service locator [message #132981] Fri, 15 May 2009 07:52
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 853
Registered: July 2009
Senior Member
I encountered problems when trying to consume a service obtained through
the workbench as a service locator during rap start-up.

I solved this by not using the workbench object as service locator and
instead registering my service through BundleContext.registerService()...

It just took too long to understand this: PlatformUI.getWorkbench() needs
an active session...
Previous Topic:Doubt creating a custom widget
Next Topic:TableViewer + ViewerSorter
Goto Forum:

Current Time: Wed Dec 01 09:56:29 GMT 2021

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

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

Back to the top