Bug 282890 [UI][CSS] Parts not always getting styled
I noticed a case where the perspective tab was getting styled but the other tabs weren't. There may be sequencing problems where we call too early to style the UI, then parts are added unstyled. This was in the legacy app. In order to ensure the styling engine is run, we should call the styling engine on SWTPartFactory.bindWidget().
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/SWTPartFactory.java
me.setOwner(null);
		return widget;
	}
	protected Widget getParentWidget(MPart<?> element) {
		return (element.getParent() instanceof MPart) ? (Widget) ((MPart<?>) (element
				.getParent())).getWidget()
				: null;
	}
	public void disposeWidget(MPart<?> part) {
		Widget curWidget = (Widget) part.getWidget();
		
		if (curWidget instanceof Control)
			curWidget = getOutermost((Control) curWidget);
		if (curWidget != null && !curWidget.isDisposed()) {
			unbindWidget(part);
			curWidget.dispose();
		}
	}
	public void hookControllerLogic(final MPart<?> me) {
		Widget widget = (Widget) me.getWidget();
		
		widget.addDisposeListener(new DisposeListener() {
			public void widgetDisposed(DisposeEvent e) {
				MPart<?> model = (MPart<?>) e.widget.getData(OWNING_ME);
				if (model != null)
					model.setWidget(null);
			}
		});