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/CompositePartFactory.java
if (policy != null && (policy.equals("HorizontalComposite") 
				|| policy.equals("VerticalComposite"))) { 
			return new Composite((Composite) parentWidget, SWT.NONE);
		}
		return null;
	}
	@Override
	public void postProcess(MPart<?> part) {
		super.postProcess(part);
		if (part.getPolicy() != null && part.getPolicy().endsWith("Composite")) { 
			Composite composite = (Composite) part.getWidget();
			Control[] children = composite.getChildren();
			GridLayout gl = new GridLayout(part.getPolicy().startsWith(
					"Horizontal") ? children.length : 1, false); 
			gl.horizontalSpacing = 0;
			gl.verticalSpacing = 0;
			gl.marginHeight = 0;
			gl.marginWidth = 0;
			composite.setLayout(gl);
			for (int i = 0; i < children.length; i++) {
				Control child = children[i];
				boolean grabV = !(child instanceof ToolBar);
				boolean grabH = !(child instanceof ToolBar);
				child.setLayoutData(new GridData(SWT.FILL, SWT.FILL, grabH,
						grabV));
			}
		}
	}
}