.getContentProvider();
ISelection selection = viewer.getSelection();
if (selection instanceof IStructuredSelection) {
Object obj = ((IStructuredSelection) selection).getFirstElement();
if (obj != null) {
contentProvider.removeEntry(obj);
}
}
return null;
}