BG Color for a PShelfItem [message #65218] |
Tue, 30 June 2009 08:36 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05415 seconds