public void executeAction(ListGridRecord[] selection, Object actionValue) {
int[] resourceIds = TableUtility.getIds(selection);
ResourceGWTServiceAsync resourceManager = GWTServiceLookup.getResourceService();
resourceManager.deleteResources(resourceIds, new AsyncCallback<List<DeleteResourceHistory>>() {
public void onFailure(Throwable caught) {
if (caught instanceof CannotConnectToAgentException) {
CoreGUI.getMessageCenter().notify(
new Message(MSG.view_inventory_resources_deleteFailed2(), Severity.Warning));
} else {