Bug 277676 [UI] The workbench should create the contexts
The workbench should create contexts for the model elements, MApplication and MParts (windows, sashes, contributed parts, etc). This is not really the responsibility of the renderers. PW
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackModelFactory.java
bindWidget(part, ctf);
			ctf.setVisible(true);
			ctf.setSimple(false);
			ctf.setTabHeight(20);
			newWidget = ctf;
			final IEclipseContext folderContext = EclipseContextFactory.create(
					parentContext, UISchedulerStrategy.getInstance());
			folderContext.set(IContextConstants.DEBUG_STRING, "TabFolder"); 
			part.setContext(folderContext);
			final IEclipseContext toplevelContext = getToplevelContext(part);
			final IStylingEngine engine = (IStylingEngine) folderContext
					.get(IStylingEngine.class.getName());
			folderContext.runAndTrack(new Runnable() {
				public void run() {
					IEclipseContext currentActive = toplevelContext;
					IEclipseContext child;
					while (currentActive != folderContext
							&& (child = (IEclipseContext) currentActive
									.get("activeChild")) != null && child != currentActive) { 
						currentActive = child;
					}
					
					if (currentActive == folderContext) {
						engine.setClassname(ctf, "active"); 
					} else {
						engine.setClassname(ctf, "inactive"); 
					}