Bug 334644 Cannot manually un/render a window that's directly under the application
Setting the 'toBeRendered' flag for a window that's a direct child of an application does nothing. The workaround is to manually de/construct it via the IPresentationEngine.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
}
	};
	private IEclipseContext appContext;
	protected Shell testShell;
	protected MApplication theApp;
	@Inject
	@Optional
	protected IEventBroker eventBroker;
	@Inject
	EModelService modelService;
	@Inject
	protected Logger logger;
	private Shell limbo;
	private List<MUIElement> renderedElements = new ArrayList<MUIElement>();
	private MUIElement removeRoot = null;
	@Inject
	public PartRenderingEngine(
			@Named(E4Workbench.RENDERER_FACTORY_URI) @Optional String factoryUrl) {
		if (factoryUrl == null) {
			factoryUrl = defaultFactoryUrl;
		}
		this.factoryUrl = factoryUrl;
	}
	protected void fixZOrder(MUIElement element) {
		MElementContainer<MUIElement> parent = element.getParent();
		if (parent == null || !(element.getWidget() instanceof Control))
			return;
		Control elementCtrl = (Control) element.getWidget();
		Control prevCtrl = null;
		for (MUIElement kid : parent.getChildren()) {