[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Manipulate TreeItem colors from viewer?

Hello,

Given a 'CheckStateChangedEvent e' is there a convienient way to get the TreeItem which corresponds to the object e.element?

I have a checkboxtreeviewer for which I wish to change the foreground color on its TreeItems when they are checked/unchecked. But right now I can only think of searching the whole Tree until I find the correct element.

Best Regards
-Thomas