Bug 263090 [legacy] Load the model with commands and handlers
The legacy fragment should be able to load the commands model with commands and the handlers model with handlers. PW
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/renderers/PartRenderer.java
}
	public Object createGui(MPart element) {
		if (!element.isVisible())
			return null;
		
		Object newWidget = createWidget(element);
		
		if (newWidget != null) {
			
			element.setWidget(newWidget);
			
			
			PartFactory factory = getFactoryFor(element);
			factory.bindWidget(element, newWidget);
			hookControllerLogic(element);
			factory.processContents(element);
			factory.postProcess(element);
			
			if (element.getParent() instanceof MPart) {
				MPart parentElement = (MPart) element.getParent();
				PartFactory parentFactory = getFactoryFor(parentElement);
				parentFactory.childAdded(parentElement, element);
			}
		}
		return newWidget;
	}
	protected Object createWidget(MPart element) {
		
		for (Iterator iterator = partFactories.iterator(); iterator.hasNext();) {
			PartFactory factory = (PartFactory) iterator.next();