Community
Participate
Working Groups
I would like to use my IViewerLabelProvider with a DecoratingLabelProvider, but the current nature of the decorator is to use the ILabelProvider methods. I would expect the Decorator to have a similiar method as the IViewerLabelProvider, like decorateLabel(ViewerLabel label, Object element) I can see that the LabelDecorator is using LabelProvider-Methods (like getText()), that are not implemented in my IViewerLabelProvider (although it has to implement them, since you can not set a IBaseLabelProvider to a Viewer. This is actually a seperate problem). Ben
Eclipse 3.2 M6 I think the problem is in DecoratingLabelProvider: public void updateLabel(ViewerLabel settings, TreePath elementPath) In that method, there is no instanceof check for a IViewerLabelProvider, only for ITreePathLabelProvider, which seems to work very similiar to a IViewerLabelProvider. Ben
This is a viewers issue, reassigning to Boris.
Oleg is now responsible for watching the [Decorators] category.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.