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
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/MWindowTest.java
assertEquals("MyWindow", shell.getText());
						
						IEclipseContext child = (IEclipseContext) appContext
								.getLocal(IServiceConstants.ACTIVE_CHILD);
						assertNotNull(child);
						assertEquals(window.getContext(), child);
						MContributedPart<MPart<?>> modelPart = getContributedPart(window);
						assertNotNull(modelPart);
						assertEquals(window, modelPart.getParent().getParent()
								.getParent());
						
						
						PartFactory factory = (PartFactory) modelPart
								.getOwner();
						factory.activate(modelPart);
						IEclipseContext next = (IEclipseContext) child
								.getLocal(IServiceConstants.ACTIVE_CHILD);
						while (next != null) {
							child = next;
							next = (IEclipseContext) child
									.getLocal(IServiceConstants.ACTIVE_CHILD);
						}
						assertFalse(window.getContext() == child);
						MContributedPart<?> contextPart = (MContributedPart<?>) child
								.get(MContributedPart.class.getName());
						assertNotNull(contextPart);
						assertEquals(window, contextPart.getParent()
								.getParent().getParent());
					}
				});