Bug 269058 [UI] Remove product specific code
The current implementation of org.eclipse.e4.workbench.ui.internal.Workbench currently contains code (based on the availability of the LegacyHook) that is specific to running either the compatibility layer (LH == true) or the photo demo (PH == false). We should make the base Workbench logic work whichever of the two 'applications' are running (i.e. based -only- on the difference in their 'default' model XMI).
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
windowHandler.setBounds(appWindow, wbw.getX(), wbw.getY(), wbw
				.getWidth(), wbw.getHeight());
		windowHandler.layout(appWindow);
		windowHandler.open(appWindow);
		windowHandler.runEvenLoop(appWindow);
		if (workbenchData != null && saveAndRestore && workbench != null) {
			try {
				System.err.println("Saving workbench: " 
						+ ((EObject) workbench).eResource().getURI());
				
				
				
				
				
				((EObject) workbench).eResource().save(null);
			} catch (IOException e) {
				
				e.printStackTrace();
			}
		}
		return rv;
	}
	/**
	 * Initialize a part renderer from the extension point.
	 * 
	 * @param registry
	 *            the registry for the EP
	 * @param r
	 *            the created renderer
	 * @param context