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: 250
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: 181
Registered: January 2012
Senior Member

Same approach, but obtain the IAdapterManager from your context.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:Scrolling a JFace Viewer
Next Topic:Getting e4-service from OSGi-service
Goto Forum:

Current Time: Thu Aug 28 19:29:55 EDT 2014

Powered by FUDForum. Page generated in 0.01592 seconds