Table listener


I’m using a SelectableTableContentProvider with “Select Row Checkbox” to be able to select individual rows in a table. I’m also using listener client script to process some action when the user selects a row in the table.

I initialize my SelectableTableContentProvider by specifiying the rowIdBinding and rowVariable using this constructor :

SelectableListTableContentProvider(List list, String rowIdBinding, String rowVariable)

When I select a row in the table I use setRowById(id) method to select the current row and call getCurrentRow() to return the current row as follow :

public myObject getDetail(id) {