Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Why is org.eclipse.e4.core.services.adapter.Adapter restricted?
Why is org.eclipse.e4.core.services.adapter.Adapter restricted? [message #1272597] Tue, 18 March 2014 05:36 Go to next message
Eclipse UserFriend
Hello,

I read that org.eclipse.e4.core.services.adapter.Adapter can be injected as a service. However when I do this, Eclipse gives me a warning about restricted access. What is the correct way of using adapters in E4? Is it still the old way using IAdaptable, Adapter factories etc.?
Re: Why is org.eclipse.e4.core.services.adapter.Adapter restricted? [message #1277673 is a reply to message #1272597] Wed, 26 March 2014 05:53 Go to previous messageGo to next message
Eclipse UserFriend
The restricted access is there because we haven't decided yet on what we define as an API. It does not mean that you are not using something correctly. It's more like a false positive.
Re: Why is org.eclipse.e4.core.services.adapter.Adapter restricted? [message #1279567 is a reply to message #1277673] Fri, 28 March 2014 19:44 Go to previous message
Eclipse UserFriend
And it would be great to name this class or interface EAdapterService ... to have similar names for all services (ESelectionService, EModelService, E*Service)
Previous Topic:Disposed control causes that popup menu stops working
Next Topic:Life cycle of an object constructed via DI
Goto Forum:
  


Current Time: Mon Jul 07 01:56:48 EDT 2025

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

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

Back to the top