@Override protected void configureTable() { updateSelectionStyle(); getListGrid() .addCellClickHandler( new CellClickHandler() { public void onCellClick(CellClickEvent event) { updateSelectionStyle(); } }); List<ListGridField> fields = createFields(); setListGridFields(fields.toArray(new ListGridField[fields.size()])); addTableAction(extendLocatorId("New"), MSG.common_button_new(), createNewAction()); addTableAction( extendLocatorId("Delete"), MSG.common_button_delete(), getDeleteConfirmMessage(), createDeleteAction()); super.configureTable(); }
@Override public void refresh() { super.refresh(); updateSelectionStyle(); }