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
Image viewMenuImage;
	@In
	IStylingEngine stylingEngine;
	public StackRenderer() {
		super();
	}
	public Object createWidget(MPart<?> part, Object parent) {
		Widget newWidget = null;
		if (!(part instanceof MStack) || !(parent instanceof Composite))
			return null;
		Widget parentWidget = (Widget) parent;
		if (parentWidget instanceof Composite) {
			
			
			
			boolean showCloseAlways = false;
			int styleModifier = 0;
			if (part.getPolicy() != null && part.getPolicy().length() > 0) {
				String policy = part.getPolicy();
				if (policy.indexOf("ViewStack") >= 0) { 
					styleModifier = SWT.CLOSE;
				}
				if (policy.indexOf("EditorStack") >= 0) { 
					styleModifier = SWT.CLOSE;
					showCloseAlways = true;