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.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/WBPartFactory.java
MPart<?> leftTrim = wbwModel.getTrim().getLeftTrim();
			if (leftTrim != null) {
				bindWidget(leftTrim, tl.left);
				leftTrim.setOwner(this);
				super.processContents(leftTrim);
			}
			MPart<?> rightTrim = wbwModel.getTrim().getRightTrim();
			if (rightTrim != null) {
				bindWidget(rightTrim, tl.right);
				rightTrim.setOwner(this);
				super.processContents(rightTrim);
			}
			
			MPerspective<?> persp = wbwModel.getChildren().get(0);
			bindWidget(persp, tl.center);
			persp.setOwner(this);
			super.processContents(persp);
		} else if (me instanceof MWindow<?>) {
			MWindow<MPart<?>> window = (MWindow<MPart<?>>) me;
			EList<MPart<?>> children = window.getChildren();
			if (children.size() > 0) {
				MPart<?> sash = children.get(0);
				renderer.createGui(sash);
			}
		}
		
		super.processContents(me);
	}
	@Override
	public void hookControllerLogic(MPart<?> me) {