Bug 319732 Views with a menu but no toolbar has no menu on restart
Views like the 'Problems' view and 'Outline' view has its view menu on the first startup. When you restart, those view menus disappear.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
}
		MPart part = (MPart) ((element instanceof MPart) ? element
				: ((MPlaceholder) element).getRef());
		MMenu viewMenu = getViewMenu(part);
		if (part.getToolbar() == null && viewMenu != null) {
			MRenderedToolBar rtb = MenuFactoryImpl.eINSTANCE
					.createRenderedToolBar();
			rtb.setContributionManager(new ToolBarManager());
			part.setToolbar(rtb);
		}
		if (part.getToolbar() != null) {
			Control c = (Control) renderer.createGui(part.getToolbar(), ctf,
					part.getContext());
			ctf.setTopRight(c);
			ctf.layout();
		}
	}
	private MMenu getViewMenu(MPart part) {
		if (part.getMenus() == null) {
			return null;
		}
		for (MMenu menu : part.getMenus()) {
			if (menu.getTags().contains(TAG_VIEW_MENU)) {
				return menu;
			}
		}
		return null;
	}
}