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
assertEquals(2, window.getChildren().size());
		stack2 = (MPartStack) window.getChildren().get(1);
		assertEquals(part1, stack2.getChildren().get(0));
	}
	/**
	 * <ol>
	 * <li>The application has a window with a stack that houses three parts, A,
	 * B, and C.</li>
	 * <li>The user creates a new stack to the right of the original stack and
	 * places part A in it.</li>
	 * <li>The new application has a window with two stacks, the new stack in
	 * front of the original housing part C, and the original stack now housing
	 * parts A and B only.</li>
	 * </ol>
	 */
	private void testPartStack_AdditionInBack_ApplicationHasNewStackInFront(
			boolean performMoveFirst) {
		MApplication application = createApplication();
		MWindow window = createWindow(application);
		MPartStack stack1 = BasicFactoryImpl.eINSTANCE.createPartStack();
		window.getChildren().add(stack1);
		
		MPart partA = BasicFactoryImpl.eINSTANCE.createPart();
		MPart partB = BasicFactoryImpl.eINSTANCE.createPart();
		MPart partC = BasicFactoryImpl.eINSTANCE.createPart();
		stack1.getChildren().add(partA);
		stack1.getChildren().add(partB);
		stack1.getChildren().add(partC);
		saveModel();
		ModelReconciler reconciler = createModelReconciler();