Community
Participate
Working Groups
In WTP we're currently using a CCombo in conjunction with a GEF view. The standard button image is a thick gray box with a black triangle. This 'arrow' image doesn't fit the look and feel of our editor. We'd like to be able to replace the image used on the button. Currently we end up copying the CCombo code to achieve this and use a label instead of a button so we can 'setImage' on it. This works fine but I figured it would be nice to have a bug to point to in our copied code to explain the issue.
Created attachment 88500 [details] an IBM internal copy of the CCombo class There is also an internal IBM product that contains a copy of the CCombo class for the very same reason (need to specialize the button image). In accordance with the terms of EPL I've attached a copy of the file containing the modified class.
You are crazy copying this code ...
Ha ha. Good to see your crazy detector is in fine working order. That's always been the guidance we've gotten from other components in Eclipse where API is not available. Can you suggest an alternative?
Give up and accept the arrow button?
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.