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.
examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/ImageDialogHandler.java
Composite comp = new Composite(parent, SWT.NULL);
			comp.setLayout(new FillLayout());
			comp.setLayoutData(new GridData(GridData.FILL_BOTH));
			
			
			MPart<MPart<?>> dlgModel = createDlgModel();
			Workbench.initializeContext(dlgContext, dlgModel);
			theRenderer.createGui(dlgModel, comp);
			
			dlgContext.set(IServiceConstants.ACTIVE_CHILD, dlgModel.getContext());
			
			
			
			
			
			return comp;
		}
		
		private MPart<MPart<?>> createDlgModel() {
			
			MSashForm<MPart<?>> sash = ApplicationFactory.eINSTANCE.createMSashForm();
			sash.setPolicy("Horizontal");
			
			
			MContributedPart<?> library = ApplicationFactory.eINSTANCE.createMContributedPart();
			library.setURI("platform:/plugin/org.eclipse.e4.demo.e4photo/org.eclipse.e4.demo.e4photo.Library");
			library.setName("Library");
			
			
			MContributedPart<?> preview = ApplicationFactory.eINSTANCE.createMContributedPart();