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(partA, stack2.getChildren().get(0));
		assertEquals(1, stack1.getChildren().size());
		assertEquals(partB, stack1.getChildren().get(0));
		assertEquals(1, stack3.getChildren().size());
		assertEquals(partC, stack3.getChildren().get(0));
	}
	public void testPartStack_AdditionInFront_ApplicationHasNewStackInBack_True() {
		testPartStack_AdditionInFront_ApplicationHasNewStackInBack(true);
	}
	public void testPartStack_AdditionInFront_ApplicationHasNewStackInBack_False() {
		testPartStack_AdditionInFront_ApplicationHasNewStackInBack(false);
	}
	/**
	 * <ol>
	 * <li>The application has a window two stacks, the first stack houses parts
	 * A and B, the second stack houses part C.</li>
	 * <li>The user moves part B from the first stack to the second stack, after
	 * part C.</li>
	 * <li>The new version of the application is identical to the original
	 * except that the second stack now has a new part, so it houses parts C and
	 * the new part, part D.</li>
	 * <li>The merged outcome should be two stacks with A in the first one, and
	 * the second stack has C, B, and D, in that order from left to right.</li>
	 * </ol>
	 */
	public void testPart_MoveFromExistingStackToExistingStack_ToStackHasNewPart() {
		MApplication application = createApplication();
		MWindow window = createWindow(application);
		MPartStack stack1 = BasicFactoryImpl.eINSTANCE.createPartStack();
		window.getChildren().add(stack1);