I'm contributing a menu item via org.eclipse.ui.popupMenus. There are
times when I need to hide the menu item. I know I can do this in
plugin.xml, but I need to do it in code. There are conditions that I
cannot test from plugin.xml. Is there a way to do this?