Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » BG Color for a PShelfItem
BG Color for a PShelfItem [message #65218] Tue, 30 June 2009 12:36
Santhosh Missing name is currently offline Santhosh Missing nameFriend
Messages: 12
Registered: July 2009
Junior Member
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: Wed Nov 26 03:24:15 GMT 2014

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

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