views:

626

answers:

0

I'm coding up a dialog box for an Eclipse plug-in much like the built-in FilteredItemsSelectionDialog from jface, except that the items that can be selected are (basically) made up of three strings, so I would like the table to show three columns that are sortable in addition to being filterable. I started pursuing the cleanest solution of extending the FilteredItemsSelectionDialog class, but the member variables I assume I need to get at (the ContentProvider and the TableView) are private. I'm not that familiar with these UI classes, and the amount of time I've spend unwinding the class hierarchy documentation has left me at the point where the less elegant solution of writing it myself or copying and pasting most of the code from that FilteredItemsSelecitonDialog is looking appealing. Should I give up on the class extension idea?

some of my research sources:

Update: I already have written the column sorters, so this question is just about making the table show multiple columns.