Skip to main content



      Home
Home » Archived » Sapphire » internal packages in sapphire.ui
internal packages in sapphire.ui [message #1144196] Fri, 18 October 2013 14:16 Go to next message
Eclipse UserFriend
Hey Konstantin,

I noticed during recent refactoring you have several new internal packages in the org.eclipse.sapphire.ui bundle, but those are not exported in the Manifest. I know that its a no-no but right now in my adopter product I'm having to just straight copy some of those classes and I'd rather just reference them directly (e.g. RadioButtonsGroup)

Would you be willing to add those internal packages to exported packages in manifest for us adopters who don't mind the risk of using internal classes? Smile

I could discuss the reasons for needing some internal packages, but I feel that my use-case is esoteric enough it may not be that useful to be added to the framework itself.

[Updated on: Fri, 18 October 2013 14:17] by Moderator

Re: internal packages in sapphire.ui [message #1144226 is a reply to message #1144196] Fri, 18 October 2013 14:45 Go to previous messageGo to next message
Eclipse UserFriend
Why don't you go ahead and raise an enhancement request to make classes you are using public? Probably one bugzilla per class unless the usecase for several classes is somehow tightly coupled. I am not opposed to making more classes public, but I don't like exporting internal packages. I find that it allows for sloppy coding where developers reference internal classes when a perfectly good public class is available. Easy access to internals also makes it easy to forget to file requests to make something public, so over time the project looses ability to know the scope of the real API necessary by adopters.

[Updated on: Fri, 18 October 2013 14:53] by Moderator

Re: internal packages in sapphire.ui [message #1144253 is a reply to message #1144226] Fri, 18 October 2013 15:10 Go to previous message
Eclipse UserFriend
Sure thing. Here is the first one: https://bugs.eclipse.org/bugs/show_bug.cgi?id=419887
Previous Topic:If/Then/Else no longer available in sdef?
Next Topic:Runtime Exception when opening Editor
Goto Forum:
  


Current Time: Tue Jul 01 00:49:28 EDT 2025

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

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

Back to the top