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 09:55 Go to next message
Alex Kipling is currently offline Alex KiplingFriend
Messages: 260
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 13:28 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 734
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:Getting e4-service from OSGi-service
Next Topic:Unit tests on a e4 Application.
Goto Forum:

Current Time: Wed Apr 25 18:39:30 GMT 2018

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

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