Bug 331038 [UI] Cache and restore the Shell's state across sessions
Currently hitting the maximize button on the shell will cause it to become maximized during the life of the session but if you close down and restart the shell just sizes itself to occupy the whole screen, the shell's state is not set. Quite annoying since you can then accidentally move or size what *should be* a maximized shell.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/WBWRenderer.java
* (org.eclipse.e4.ui.model.application.MUIElement)
	 */
	@Override
	public Object getUIContainer(MUIElement element) {
		Composite shellComp = (Composite) element.getParent().getWidget();
		TrimmedPartLayout tpl = (TrimmedPartLayout) shellComp.getLayout();
		Composite ca = tpl.clientArea;
		
		if (!(ca.getLayout() instanceof SashLayout)) {
			SashLayout sl = new SashLayout(ca, null);
			ca.setLayout(sl);
		}
		return tpl.clientArea;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer#childRendered
	 * (org.eclipse.e4.ui.model.application.ui.MElementContainer,
	 * org.eclipse.e4.ui.model.application.ui.MUIElement)
	 */
	@Override
	public void childRendered(MElementContainer<MUIElement> parentElement,
			MUIElement element) {
		
		super.childRendered(parentElement, element);
		
		Composite shellComp = (Composite) element.getParent().getWidget();
		TrimmedPartLayout tpl = (TrimmedPartLayout) shellComp.getLayout();