public void executeAction(final ListGridRecord[] selection, Object actionValue) {
if (selection == null || selection.length == 0) {
return;
}
ConfigurationGWTServiceAsync service = GWTServiceLookup.getConfigurationService();
Integer groupId = HistoryGroupResourceConfigurationTable.this.group.getId();
Integer[] updateIds = new Integer[selection.length];
int i = 0;
for (ListGridRecord record : selection) {
updateIds[i++] = record.getAttributeAsInt(GroupResourceConfigurationDataSource.Field.ID);
}
service.deleteGroupResourceConfigurationUpdate(groupId, updateIds, new AsyncCallback<Void>() {
@Override
public void onSuccess(Void result) {
refresh();
Message message = new Message(MSG.view_group_resConfig_table_deleteSuccessful(String
.valueOf(selection.length)), Message.Severity.Info, EnumSet