Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » A service to replace Platform.getAdapterManager() ?
A service to replace Platform.getAdapterManager() ? [message #1001241] Wed, 16 January 2013 04:55 Go to next message
Alex Kipling is currently offline Alex Kipling
Messages: 246
Registered: July 2012
Senior Member
Which Service would i use to register an IAdapterFactory in e4?

In e3 it was :

Platform.getAdapterManager().registerAdapters(adapterFactory, IWorkbenchAdapter.class);
Re: A service to replace Platform.getAdapterManager() ? [message #1001317 is a reply to message #1001241] Wed, 16 January 2013 08:28 Go to previous message
Brian de Alwis is currently offline Brian de Alwis
Messages: 127
Registered: January 2012
Senior Member

Same approach, but obtain the IAdapterManager from your context.

Brian.
Previous Topic:Scrolling a JFace Viewer
Next Topic:Getting e4-service from OSGi-service
Goto Forum:
  


Current Time: Thu Apr 17 17:39:58 EDT 2014

Powered by FUDForum. Page generated in 0.01659 seconds