Archive for January, 2006

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

January 2006
M T W T F S S
« Dec   Mar »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Posts by Month

Posts by Category