Community
Participate
Working Groups
Eclipse 3.5M2. Technically speaking, the order of <reference> elements is significant, so maybe we should have Up/Down buttons available in the Referenced Services section of the Service Component editor. Why is order significant? Well, the order of the <reference> elements is the order that their bind methods will be called before the component is activated, and the reverse order that their unbind methods will be called before the component is deactivated. Of course bind/unbind method attributes are optional. For more details see section 112.5.7 and 112.5.13 in the OSGi spec. I am hesitating on this one because I do not want to clutter the UI unnecessarily.
Chris?? Should I implement this?
Created attachment 116651 [details] DSReferenceSection updates Up and Down buttons created
done. > 20091103 I made some changes and fixes Rafael. Thanks!
Created attachment 116871 [details] mylyn/context/zip
Using Eclipse 3.5M3 from HEAD. Up/Down buttons are always problematic it seems! As implemented today the buttons only really work for a single selection, yet they are enabled for multiple selections. - Either enable the buttons for only a single selection. - Or fix the behavior for multiple selections: - Try selecting multiple adjacent items. - Try selecting multiple non-adjacent items. Frankly, the list of referenced services is always going to be short enough that supporting only single selection will be more than adequate.
I just tried the Up/Down buttons in the Properties section and it works perfectly for both single and multiple selections. This was addressed by bug 248216.
Created attachment 117113 [details] DSReferenceSection update Done!
done. Thanks Rafael! > 20091105
That works great, thanks guys.