ColorCellEditor and transparency [message #456689] |
Tue, 07 June 2005 05:33 |
Eclipse User |
|
|
|
Originally posted by: clmind.yahoo.com
I'm looking for a way to allow choosing 'transparent' from a ColorCellEditor
(or some likeness thereof).
I'm implementing color properties, and am currently using a
ColorPropertyDescriptor (which loads up a ColorCellEditor) to allow choosing
a color. However, I want to be able to allow choosing 'no color', or
'transparent': since RGB values are used, this isn't really implemented in
the current ColorCellEditor. I'd like to reuse the dialog that pops up....
Has anyone tried/given any thought towards this? My current thinking was
something along the lines of using a combo box with three options: the
current color, 'transparent', and 'more colors'; when 'more colors' is
selected, the color dialog will appear. Does anyone have any ideas on how
this could/should be done?
Christine
|
|
|
Powered by
FUDForum. Page generated in 0.02384 seconds