BundleGroup object = ds.copyValues(selection);
doomedNames.add(object.getName());
doomedIds[i++] = object.getId();
}
BundleGWTServiceAsync bundleManager = GWTServiceLookup.getBundleService();
bundleManager.deleteBundleGroups(doomedIds, new AsyncCallback<Void>() {
public void onFailure(Throwable caught) {
String names = doomedNames.toString();
String error = ErrorHandler.getAllMessages(caught);
Message m = new Message(MSG.view_bundleGroup_deletesFailure(), names + "<br/>\n" + error,
Severity.Error);