Bug 319043 [Compatibility] Rendering a new toolbar doesn't cause a layout
When a part goes active and toolitems disappear (like switching from the Java editor gets rid of Toggle Mark Occurrences) the space is not reclaimed. Worse, if there was no space the newly visible items (switching to the Java editor) don't appear. Eric, is their something we should put in the ToolItemRenderer and possible the ToolBarRenderer so they basically say: toolbar.layout(item) or parentShell.layout(toolbar)? PW
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ToolBarRenderer.java
tb = new ToolBar((Composite) parent, orientation | SWT.WRAP | SWT.FLAT
				| SWT.RIGHT);
		tb.addDisposeListener(new DisposeListener() {
			public void widgetDisposed(DisposeEvent e) {
				cleanUp((MToolBar) element);
			}
		});
		return tb;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer#hideChild
	 * (org.eclipse.e4.ui.model.application.MElementContainer,
	 * org.eclipse.e4.ui.model.application.MUIElement)
	 */
	@Override
	public void hideChild(MElementContainer<MUIElement> parentElement,
			MUIElement child) {
		super.hideChild(parentElement, child);
		
		
		Widget widget = (Widget) child.getWidget();
		if (widget != null && !widget.isDisposed())
			widget.dispose();
	}
	/*
	 * (non-Javadoc)
	 *