Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Why is restricted?
Why is restricted? [message #1272597] Tue, 18 March 2014 09:36 Go to next message
Jens Rabe is currently offline Jens RabeFriend
Messages: 81
Registered: September 2013

I read that 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 restricted? [message #1277673 is a reply to message #1272597] Wed, 26 March 2014 09:53 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

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 restricted? [message #1279567 is a reply to message #1277673] Fri, 28 March 2014 23:44 Go to previous message
Olivier Prouvost is currently offline Olivier ProuvostFriend
Messages: 15
Registered: August 2011
Location: TOULOUSE
Junior Member

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: Tue Jun 15 00:42:43 GMT 2021

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

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

Back to the top