// MS: Eclipse core plugins inject some dumb shit into
// the File menu that there doesn't appear to be a
// good way to remove. So I'm going to do it
// the hard way ...
fileMenu.addMenuListener(new IMenuListener2() {
public void menuAboutToHide(IMenuManager manager) {
}
public void menuAboutToShow(IMenuManager manager) {
IContributionItem[] items = manager.getItems();