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
* 
	 * MPart<?>.getWidget().getData(OWNING_ME) == MPart<?>
	 * 
	 * @param element
	 *            The UI element
	 * @param widget
	 *            The widget
	 */
	
	
	
			
	
	 }
	private void hookControllerLogic(final MPart<?> element) {
		
		PartFactory factory = (PartFactory) getFactoryFor(element);
		if (factory != null)
			factory.hookControllerLogic(element);
		
		((EObject) element).eAdapters().add(new AdapterImpl() {
			@Override
			public void notifyChanged(Notification msg) {
				if (ApplicationPackage.Literals.MPART__CHILDREN.equals(msg
						.getFeature())
						&& msg.getEventType() == Notification.ADD) {
					MPart parent = (MPart) msg.getNotifier();
					PartFactory parentFactory = getFactoryFor(parent);
					if (parentFactory == null)
						return;