Skip to main content



      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 04:08 Go to next message
Eclipse UserFriend
Hi,

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,

Stephan
Re: Why is @EventTopic in an internal package? [message #1746656 is a reply to message #1746624] Wed, 02 November 2016 10:04 Go to previous message
Eclipse UserFriend
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.

Brian.
Previous Topic:IWorkbench.restart() can not load correct language
Next Topic:How to use @Translation in E4 application
Goto Forum:
  


Current Time: Sat Jul 12 09:54:52 EDT 2025

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

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

Back to the top