Bug 321116 [Compatibility] Secondary workbench windows are not restored with the menu bar or the tool bar
I20100727-1520 1. Window > New Window 2. File > Exit 3. Start Eclipse up again. 4. Notice that one of the workbench windows doesn't have a menu bar or a tool bar.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
}
		
		if (element instanceof MContext) {
			clearContext((MContext) element);
		}
	}
	private void unhookReferences(MUIElement element, IEclipseContext newContext) {
		List<MPlaceholder> phList = modelService.findElements(element, null,
				MPlaceholder.class, null);
		for (MPlaceholder ph : phList) {
			MUIElement ref = ph.getRef();
			if (ref.getCurSharedRef() == ph) {
				if (ref.getWidget() instanceof Control) {
					Control refCtrl = (Control) ref.getWidget();
					if (!refCtrl.isDisposed())
						refCtrl.setParent(getLimboShell());
				}
				if (ref instanceof MPart) {
					MToolBar tbME = ((MPart) ref).getToolbar();
					if (tbME != null && tbME.getWidget() instanceof Control) {
						Control tbCtrl = (Control) tbME.getWidget();
						if (!tbCtrl.isDisposed())
							tbCtrl.setParent(getLimboShell());
					}
				}
				List<MContext> containedContexts = modelService.findElements(
						ref, null, MContext.class, null);
				for (MContext ctxt : containedContexts) {
					IEclipseContext lclContext = ctxt.getContext();
					if (lclContext != null) {