hints); // hints
// Complete the action, if the user has confirmed it
if (confirm.equals(choice)) {
for (AbstractComponent delete : toDelete) {
windowManager.closeWindows(delete.getComponentId());
}
platform.getPersistenceProvider().delete(toDelete);
}
} else {
// Some components cannot be removed safely - let the user know this