Skip to main content



      Home
Home » Eclipse Projects » Nebula » BG Color for a PShelfItem
BG Color for a PShelfItem [message #65218] Tue, 30 June 2009 08:36
Eclipse UserFriend
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
Previous Topic:Control multi-selection in a Grid
Next Topic:BG Color for a PShelfItem
Goto Forum:
  


Current Time: Thu May 08 13:27:59 EDT 2025

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

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

Back to the top