Bug 283442 [UI] Refactor the rendering class names
In order to bring the model closer to the way in which we talk about it we should re-factor it to remove references to 'factory'. For now the re-factoring will to replace 'PartRenderer' with 'PartRenderingEngine' and to replace '<xxx>Factory' with '<xxx>Renderer'. Post 0.9 we expect to change these again but this will make the initial story clearer.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackModelFactory.java
final IEclipseContext folderContext = part.getContext();
			folderContext.set(IContextConstants.DEBUG_STRING, "TabFolder"); 
			final IEclipseContext toplevelContext = getToplevelContext(part);
			final IStylingEngine engine = (IStylingEngine) folderContext
					.get(IStylingEngine.SERVICE_NAME);
			folderContext.runAndTrack(new Runnable() {
				public void run() {
					
					
					if (ctf.isDisposed())
						return;
					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"); 
						
						
						if (ctf.getTopRight() != null)
							engine.setClassname(ctf.getTopRight(), "active"); 
					} else {
						engine.setClassname(ctf, "inactive"); 
						
						
						if (ctf.getTopRight() != null)