}
private void removeResources() {
final ResourceGWTServiceAsync resourceManager = GWTServiceLookup.getResourceService();
resourceManager.uninventoryAllResourcesByAgent(agents, new AsyncCallback<Void>() {
public void onSuccess(Void result) {
CoreGUI.getMessageCenter().notify(
new Message(MSG.view_adminTopology_agent_delete_submitted(Integer
.toString(agents.length))));
refresh();