Bug 338816 Resetting a perspective with multiple minimized stacks causes 'widget is disposed' errors
Found when testing the new min/max work... This is a bad one; open a fresh session, maximize the editor area and then reset the perspective...whamo ! The workbench is left in an unusable state...
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/TrimBarRenderer.java
result = tpl.getTrimComposite(parentComp, SWT.TOP);
			break;
		case SideValue.BOTTOM_VALUE:
			result = tpl.getTrimComposite(parentComp, SWT.BOTTOM);
			break;
		case SideValue.LEFT_VALUE:
			result = tpl.getTrimComposite(parentComp, SWT.LEFT);
			break;
		case SideValue.RIGHT_VALUE:
			result = tpl.getTrimComposite(parentComp, SWT.RIGHT);
			break;
		default:
			return null;
		}
		result.addDisposeListener(new DisposeListener() {
			public void widgetDisposed(DisposeEvent e) {
				cleanUp(trimModel);
			}
		});
		return result;
	}
	@Override
	public void hideChild(MElementContainer<MUIElement> parentElement,
			MUIElement child) {
		super.hideChild(parentElement, child);
		Composite trimCtrl = (Composite) parentElement.getWidget();
		if (trimCtrl != null && !trimCtrl.isDisposed())
			trimCtrl.layout();
	}
	/*