Community
Participate
Working Groups
Build Identifier: 3.6 M6 I am working with the breakpoints view with column support, when I have my own debugger up (non-java debug conetxt), than the column show repeated label for a Java breakpoint, as well as repeated icon for each column. The ElementLabelProvider should some how pass a default column id to the getLabel (or getImageDescriptor, etc...) API, so that label provider can determine what to return for the default column and what else to return for non-default column. See the attached screen capture. Reproducible: Always
Created attachment 162724 [details] screen capture
Seems like a fairly simple fix, can you supply a patch?
Pawel, Patrick is on valaction for the next few weeks. He can look at it when he comes back, but he is afraid it may be too late.
Created attachment 167763 [details] fix Pawel, I added two new methods in ElementLabelProvider that contains the columnIndex, subclass can override these methods to handle column label, such as the BreakpointLabelProvider. I don't know whether this is the right thing to do without changing the existing API from ElementLabelProvider.
Created attachment 167769 [details] Added @since tags.
I think the change makes sense as a polish item. It adds a couple of new methods but they are not in an API (not even a provisional one). Darin do you agree?
Ideally, we'd just be able to recognize some column ID as the first/only column... but since there are no common column names, I think the column index is required. +1
Applied/Fixed.