Bug 314317 Cannot re-create a previously closed MWindow instance
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/WBWRenderer.java
IEclipseContext parentContext = getContextForParent(w);
					MApplication app = (MApplication) w.getContext().get(
							MApplication.class.getName());
					if (app != null && parentContext != null) {
						if (app.getSelectedElement() == w) {
							return;
						}
						app.setSelectedElement(w);
						parentContext.set(IContextConstants.ACTIVE_CHILD,
								w.getContext());
					}
				}
			});
		}
	}
	/*
	 * Processing the contents of a Workbench window has to take into account
	 * that there may be trim elements contained in its child list. Since the
	 * 
	 * @see
	 * org.eclipse.e4.workbench.ui.renderers.swt.SWTPartFactory#processContents
	 * (org.eclipse.e4.ui.model.application.MPart)
	 */
	@Override
	public void processContents(MElementContainer<MUIElement> me) {
		if (!(((MUIElement) me) instanceof MWindow))
			return;
		MWindow wbwModel = (MWindow) ((MUIElement) me);
		super.processContents(me);