Bug 304211 StackRenderer does not set eagerly created controls to the item
Right-clicking on a Java element and then using 'Open Declaration' opens an editor on the specified file but its content is not shown. Switching tabs or selecting items in the 'Outline' view does _not_ help. Seems to be calling IWorkbenchPage's APIs properly. No idea yet as to what's going on over here.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackRenderer.java
showMenu((ToolItem) e.widget);
			}
		});
	}
	/**
	 * @param item
	 */
	protected void showMenu(ToolItem item) {
		
		final MMenu menuModel = (MMenu) item.getData("theMenu"); 
		MPart part = (MPart) item.getData("thePart"); 
		Control ctrl = (Control) part.getWidget();
		Menu menu = (Menu) renderer.createGui(menuModel, ctrl.getShell());
		
		Rectangle ib = item.getBounds();
		Point displayAt = item.getParent().toDisplay(ib.x, ib.y + ib.height);
		menu.setLocation(displayAt);
		menu.setVisible(true);
		Display display = Display.getCurrent();
		while (!menu.isDisposed() && menu.isVisible()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		menu.dispose();
	}
	private Image getViewMenuImage() {
		if (viewMenuImage == null) {
			Display d = Display.getCurrent();
			Image viewMenu = new Image(d, 16, 16);
			Image viewMenuMask = new Image(d, 16, 16);