IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
// we are using the global BACK and FORWARD actions here
// and will register "handlers" for these commands
navigateMenu.appendToGroup(IWorkbenchActionConstants.NAV_END,
ActionFactory.BACK.create(window));
navigateMenu.appendToGroup(IWorkbenchActionConstants.NAV_END,
ActionFactory.FORWARD.create(window));
if (!manager.isVisible()){
// since this is the top level menu bar why would it not be visible?
manager.setVisible(true);