Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ColorCellEditor and transparency
ColorCellEditor and transparency [message #456689] Tue, 07 June 2005 05:33
Eclipse UserFriend
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
Previous Topic:ordering the children in a tree view.
Next Topic:Socket communication
Goto Forum:
  


Current Time: Thu Apr 25 05:06:24 GMT 2024

Powered by FUDForum. Page generated in 0.02384 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top