Archive for the ‘Programming’ Category

How to add both an image decoration and a custom tooltip to a JFace ViewerColumn

Sunday, July 4th, 2010

Recently i had to add some image decorations and a custom tooltip to a column of a Jface StructuredViewer. This wasn’t too hard, but i lost a fair amount of time figuring out how to put the pieces together.

This is how i did it: