Bug 283615 [CSS][UI] Part id should be used as CSS id
We should automatically set the css id of the created widget to be the id of it's part. That way, one can make corresponding changes to semantically tag (model) and style (css).
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/SWTPartRenderer.java
@Override
	public void childRemoved(MPart<?> parentElement, MPart<?> child) {
		super.childRemoved(parentElement, child);
		if (child.getWidget() instanceof Control) {
			Control ctrl = (Control) child.getWidget();
			locallyHide(ctrl);
		}
	}
	private Control getOutermost(Control ctrl) {
		
		
		Composite curComposite = ctrl.getParent();
		Control outerMost = ctrl;
		while (curComposite != null
				&& curComposite.getData(AbstractPartRenderer.OWNING_ME) == null
				&& !(curComposite instanceof Shell)) {
			outerMost = curComposite;
			curComposite = curComposite.getParent();
		}
		return outerMost;
	}
	/**
	 * Restore an existing control to the UI by reparenting it (from 'limbo')
	 * under its new owner
	 * 
	 * @param parent
	 *            The composite to place the control under
	 * @param ctrl
	 *            The control to be restored
	 */