Bug 316558 [XMI] Changes to a window's main menu is not being persisted properly
Additions to an MWindow's main menu is not being persisted correctly.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/reconciler/ModelReconcilerScenarioTest.java
application = createApplication();
		window = application.getChildren().get(0);
		partStack1 = (MPartStack) window.getChildren().get(0);
		partStack2 = (MPartStack) window.getChildren().get(1);
		part1 = (MPart) partStack1.getChildren().get(0);
		part2 = (MPart) partStack1.getChildren().get(1);
		part3 = (MPart) partStack2.getChildren().get(0);
		partStack2.getChildren().add(part2);
		Collection<ModelDelta> deltas = constructDeltas(application, state);
		assertEquals(1, application.getChildren().size());
		assertEquals(window, application.getChildren().get(0));
		assertEquals(2, window.getChildren().size());
		assertEquals(partStack1, window.getChildren().get(0));
		assertEquals(partStack2, window.getChildren().get(1));
		assertEquals(1, partStack1.getChildren().size());
		assertEquals(part1, partStack1.getChildren().get(0));
		assertEquals(2, partStack2.getChildren().size());
		assertEquals(part3, partStack2.getChildren().get(0));
		assertEquals(part2, partStack2.getChildren().get(1));
		applyAll(deltas);
		assertEquals(1, application.getChildren().size());
		assertEquals(window, application.getChildren().get(0));
		assertEquals(2, window.getChildren().size());
		assertEquals(partStack1, window.getChildren().get(0));
		assertEquals(partStack2, window.getChildren().get(1));
		assertEquals(1, partStack1.getChildren().size());
		assertEquals(part1, partStack1.getChildren().get(0));
		assertEquals(2, partStack2.getChildren().size());
		assertEquals(part3, partStack2.getChildren().get(0));
		assertEquals(part2, partStack2.getChildren().get(1));