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: 257
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: 194
Registered: January 2012
Senior Member

Same approach, but obtain the IAdapterManager from your context.

Brian.


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: Fri Nov 21 20:36:54 GMT 2014

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

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