Posts filed under 'JFace'

Polish up your JFace-Viewer! Sorting a table

Today I want to show how to add a sorter to your JFace-Table. The requirement is to sort descending und ascending by clicking on the TableColumn-Header. JFace already provides sorting-functionality. We just have to provide something like an alogrithm to arrange the items. For that we implemented the CollectionSorter that uses the default Collator from ViewerSorter…

Continue Reading Add comment January 18th, 2006

Support your LabelProvider!! - ImageContribution

In complex applications you also have very many images that want to be placed to the right time on the right place. And because some good software-architects already have concepted the model ;) , in the most cases you want to visualize a special object or a special property of an object with an image in your JFace-List or Tree. Imagine you have 50 JFace-Viewers and 300 different Icons. Do you really want to implement in every LabelProvider how and when to access to which image? I guess, no…

Continue Reading Add comment January 16th, 2006


Calendar

December 2008
M T W T F S S
« Jul    
1234567
891011121314
15161718192021
22232425262728
293031  

Posts by Month

Posts by Category