Bug 327980 Part activation history should not be perspective-dependent
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/EPartServiceTest.java
MPlaceholder areaPlaceholder = AdvancedFactoryImpl.eINSTANCE
				.createPlaceholder();
		areaPlaceholder.setRef(area);
		part.setCurSharedRef(areaPlaceholder);
		perspective.getChildren().add(areaPlaceholder);
		perspective.setSelectedElement(areaPlaceholder);
		MPlaceholder partPlaceholder = AdvancedFactoryImpl.eINSTANCE
				.createPlaceholder();
		partPlaceholder.setRef(part);
		part.setCurSharedRef(partPlaceholder);
		area.getChildren().add(partPlaceholder);
		area.setSelectedElement(partPlaceholder);
		initialize(applicationContext, application);
		getEngine().createGui(window);
		EPartService partService = window.getContext().get(EPartService.class);
		partService.hidePart(part, force);
		assertFalse(partPlaceholder.isToBeRendered());
		assertEquals(!force, area.getChildren().contains(partPlaceholder));
	}
	public void testHidePart_Bug327964_True() {
		testHidePart_Bug327964(true);
	}
	public void testHidePart_Bug327964_False() {
		testHidePart_Bug327964(false);
	}
	public void testHidePart_ActivationHistory01() {
		MApplication application = ApplicationFactoryImpl.eINSTANCE
				.createApplication();
		MWindow window = BasicFactoryImpl.eINSTANCE.createWindow();
		application.getChildren().add(window);