Shell shell = OwlUI.getActiveShell();
IStructuredSelection selection = OwlUI.getActiveFeedViewSelection();
/* Perform Action */
if (shell != null && selection != null && !selection.isEmpty()) {
AssignLabelsAction action = new AssignLabelsAction(shell, selection);
action.run();
}
return null; //As per JavaDoc
}