return;
if (selection instanceof IStructuredSelection) {
IStructuredSelection structuredSelection = (IStructuredSelection) selection;
if (shouldAddShowInMenu(structuredSelection)) {
ICommonViewerWorkbenchSite site = (ICommonViewerWorkbenchSite) getActionSite()
.getViewSite();
MenuManager showInSubMenu = UIUtils.createShowInMenu(
site.getWorkbenchWindow());
menu.appendToGroup(ICommonMenuConstants.GROUP_SHOW, showInSubMenu);
}
}
}