Community
Participate
Working Groups
It would be great to have a UI way of setting exported packages as x-internal or x-friends. right now people have to remember the obscure syntax and hope to get it right. Ther eis also no indication on the dependencies tab as to which packages are internal/friends etc.
Jeff, I am so hurt :( This already exists. You are familiar with the Exported Packages section on the Runtime tab. When you select a package, the information in the Package Visibility section enables. It is in this section you can do just that. By default, every package is public. To make it internal, select the "hidden from all plug-ins except" radio button. If no bundles are added to the list, it will be marked as internal. Once the user adds bundles to that table, the exported package will specify each listed bundle as an x-friend.
Yeah, Jeff, really :-). Even I know about these features in the editor (and used them to make some friends :-).
you are indeed right, and I did indeed know this. I did however forget. sigh. Having said that... - it would still be good to have some sort of decoration in the exported package list - the visibility section is somewhat disjoint from the exported package list. Is there someway we would add some visual cues? For exampl,e when I click through the packages all that may change in the visibility area is the radio button. I was clicking around and never noticed the button changing so never really even looked at the section. - My natural instinct was to right click and use the Properties entry. That give the promise of being able to tweak the setting but only exposes version. Anyway, I agree that (modulo the first point above) the desired behaviour is there. Looking for how we can tie it together in a more obvious way. then again, it could just be me...
+1 for the decoration/overlay if packages to indicate internal/friends status.
+1 if the friends decoration is a happy face.
Chris, I have seen graphic designers pull off miracles with a few pixels, but even they will struggle to draw a happy face in an 8x7 overlay :-).
+1 Photoshop is always up to the task. However, I can't guarantee the happy face will not look like a sad face ;)
Created attachment 77155 [details] 8x7 pixel happy face Assuming Dejan's spec (8x7) was correct, this should do the trick. :P
haha
I woudn't take for granted anything Dejan says these days - better check other overlays in the library :-).
(In reply to comment #10) > I woudn't take for granted anything Dejan says these days - better check other > overlays in the library :-). > You're right; 7x8, not 8x7, and I should've saved as .gif. Damn. :)
Created attachment 77158 [details] New happy face. Revised patches I can understand. But I can't believe I'm revising a happy face.
Stop screwing around!!!
Optional plug-ins have a proper overlay now with bug 210180 fixed for those who want to be in the know.
Changing this bug to only deal with internal, opened bug 210183 to handle the x-friends case since I'm having trouble visualizing an icon other than a happy face for it.
Created attachment 83167 [details] org.eclipse.pde.ui.patch Adds an overlay icon to export packages that are internal. The overlay is similar to JDT's notion of protected members (ie., yellow diamond).
Created attachment 83168 [details] mylyn/context/zip
fixed in HEAD, >20071117
verified on I20071211-0010