Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT: IColorProvider  RSS feed

 
Aleksander Popov
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have MyLabelProvider that extends LabelProvider and implements IColorProvider. I overwrite getBackgroundColor in MyLabelProvider:


Now isn't it that if I implement IColorProvider interface and overwrite getBackground and getForeground then the elements of the list should take on the colors that I am returning?

thanks,
Alex
[ April 05, 2006: Message edited by: Aleksander Popov ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!