[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.nebula] BG Color for a PShelfItem

Hi Everybody ,

I am relatively new to SWT and Nebula.

I have a requirement to display multiple composites within a PShelf which i am able to do with ease .

However, I have an another requirement which is to change the BG COLOR of a PShelfItem after a particular threshold is reached .
PShelfItem item1 = new PShelfItem(getPShelf(parent),SWT.NONE);
item1.setText("Navigation");


Is there a way by which i can change the color of a PShelfItem ??

By goin through the classes , i could find out that Color changing prop is applicable only to PShelf and one can set a renderer only to a PShelf.

Please advice .

Thanks in advance,
Santhosh