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.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/RenderingTestCase.java
protected void processEventLoop() {
		if (display != null) {
			while (display.readAndDispatch())
				;
		}
	}
	protected Widget createModel(final MPart modelRoot) {
		final Widget[] renderedObject = new Widget[1];
		renderedObject[0] = null;
		Realm.runWithDefault(SWTObservables.getRealm(display), new Runnable() {
			public void run() {
				
				SWTResult expectedResults = createSWTResultTree(modelRoot);
				Workbench.initializeContext(appContext, modelRoot);
				Object o = renderer.createGui(modelRoot);
				assertTrue("No widget rendered for: " + modelRoot.toString(),
						o != null);
				assertTrue("Rendered object is not a Widget: "
						+ o.getClass().getName(), o instanceof Widget);
				renderedObject[0] = (Widget) o;
				
				checkResults(expectedResults, renderedObject[0]);
			}
		});
		return renderedObject[0];
	}
	public void checkResults(SWTResult expected, Widget renderedObject) {
		assertNotNull("The Control is Null " + expected.clazz.getName(),
				renderedObject);
		boolean classOK = (expected.clazz == renderedObject.getClass());