Bug 283194 [UI] StackModelFactory does not need 'engine' local
We can remove this from createWidget() final IStylingEngine engine = (IStylingEngine) folderContext .get(IStylingEngine.SERVICE_NAME); because the engine is now passed in via DI. Replace the refs to "engine" with the local "stylingEngine".
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackRenderer.java
ApplicationPackage.Literals.MITEM__TOOLTIP);
		IObservableValue uiTTipObs = new AbstractObservableValue() {
			public Object getValueType() {
				return String.class;
			}
			protected Object doGetValue() {
				return cti.getToolTipText();
			}
			protected void doSetValue(Object val) {
				cti.setToolTipText((String) val);
			}
		};
		dbc.bindValue(uiTTipObs, emfTTipObs, null, null);
		
		((EObject) childElement).eAdapters().add(new AdapterImpl() {
			@Override
			public void notifyChanged(Notification msg) {
				MPart<?> sm = (MPart<?>) msg.getNotifier();
				if (ApplicationPackage.Literals.MITEM__ICON_URI.equals(msg
						.getFeature())
						&& !cti.isDisposed()) {
					Image image = getImage(sm);
					cti.setImage(image);
				}
			}
		});
	}
	@Override
	public void childRemoved(MPart<?> parentElement, MPart<?> child) {
		super.childRemoved(parentElement, child);