Bug 261852 [context] Separate code into API / SPI / internal
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/swt/WBPartFactory.java
persp.setOwner(this);
			super.processContents(persp);
		}
	
		
		super.processContents(me);
	}
	@Override
	public void hookControllerLogic(Part<?> me) {
		super.hookControllerLogic(me);
	
		Widget widget = (Widget) me.getWidget();
	
		
		IObservableValue emfTextObs = EMFObservables.observeValue((EObject) me,
				ApplicationPackage.Literals.ITEM__NAME);
		if (widget instanceof Control && !(widget instanceof Composite)) {
			ISWTObservableValue uiTextObs = SWTObservables
					.observeText((Control) widget);
			dbc.bindValue(uiTextObs, emfTextObs, null, null);
		} else if (widget instanceof org.eclipse.swt.widgets.Item) {
			ISWTObservableValue uiTextObs = SWTObservables
					.observeText((org.eclipse.swt.widgets.Item) widget);
			dbc.bindValue(uiTextObs, emfTextObs, null, null);
		}
	
		
		IObservableValue emfTTipObs = EMFObservables.observeValue((EObject) me,
				ApplicationPackage.Literals.ITEM__TOOLTIP);
		if (widget instanceof Control) {