Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Why is @EventTopic in an internal package?
Why is @EventTopic in an internal package? [message #1746624] Wed, 02 November 2016 08:08 Go to next message
Stephan Hildebrandt is currently offline Stephan HildebrandtFriend
Messages: 25
Registered: July 2015
Junior Member

the annotation @EventTopic is contained in the bundle (and package) org.eclipse.e4.core.di.extensions. The bundle's manifest exports this package with x-internal:=true. Obviously, this leads to discouraged access warnings when I use @EventTopic in my code. Is there a reason for this or is this simply a bug? I could not find any issues in the bug tracker or any explanations on the internet.

Best regards,

Re: Why is @EventTopic in an internal package? [message #1746656 is a reply to message #1746624] Wed, 02 November 2016 14:04 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 772
Registered: January 2012
Senior Member

x-internal means that it's not API and so its definition may change. We've had some discussion about changing this particular annotation as it exposes the OSGi Event class which makes it hard to use outside of an OSGi context.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:IWorkbench.restart() can not load correct language
Next Topic:How to use @Translation in E4 application
Goto Forum:

Current Time: Sat Sep 22 01:43:27 GMT 2018

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

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

Back to the top