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/TrimPartFactory.java
/**
	 * @param trimmedComp
	 * @param horizontal
	 * @param topTrim
	 * @return
	 */
	private Composite createTrim(Composite trimmedComp, int orientation,
			MTrimmedPart<?> trimModel, MToolBarContainer trimContainer) {
		Composite trimComposite = new Composite(trimmedComp, SWT.NONE);
		RowLayout trl = new RowLayout(orientation);
		trl.marginBottom = trl.marginTop = 1;
		trimComposite.setLayout(trl);
		
		for (MToolBar tb : trimContainer.getToolbars()) {
			createToolBar(trimModel, trimComposite, tb);
		}
		return trimComposite;
	}
	/**
	 * @param trimSide
	 * @return
	 */
	private boolean hasVisibleChildren(MToolBarContainer trimSide) {
		if (trimSide == null)
			return false;
		EList<?> kids = trimSide.getToolbars();
		return kids != null && kids.size() > 0;
	}
}