IStructuredSelection selection = (IStructuredSelection) fViewer.getSelection();
if (!selection.isEmpty()) {
ILabel label = (ILabel) selection.getFirstElement();
String msg = "Are you sure you want to delete the Label '" + label.getName() + "'?";
ConfirmDeleteDialog dialog = new ConfirmDeleteDialog(getShell(), "Confirm Delete", "This action can not be undone", msg, null);
if (dialog.open() == IDialogConstants.OK_ID) {
/* Remove Label from any News containing it */
Collection<INews> affectedNews = DynamicDAO.getDAO(INewsDAO.class).loadAll(label);
for (INews news : affectedNews) {
news.removeLabel(label);