[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] ColorCellEditor and LabelProvider

I've built a TableViewer that contains a column with a ColorCellEditor. I've also created a LabelProvider that returns an image of a square box of the image color (in getColumnImage) and the rgb values of the color (in getColumnText) for the color column. When the colorEditor was not active, I wanted the column to appear similar to the default colorCellEditor minus the color selector button. However, when I click on the cell to edit the color, the image from my getColumnImage still remains in the cell. So I get the color box, rgb values, and color selector button, PLUS the image of my square color box in the cell. Is there any way to have the colorCellEditor overwrite the labelProvider's image so that it doesn't show up when the editor is active?