Bug 329482 Uninstantiated part may be rendered when closing another part in the same stack
1. Activate the 'Javadoc' view. 2. Activate the 'Package Explorer' view. 3. Shutdown. 4. Restart. 5. Ctrl+3 > Properties 6. Hide the 'Properties' view. 7. Now the 'Problems' view is the selected element. It should be the 'Javadoc' view.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
* .MPart)
	 */
	public void activate(MPart part) {
		activate(part, true);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.ui.workbench.modeling.EPartService#activate(org.eclipse.e4.ui.model.application
	 * .MPart,boolean)
	 */
	public void activate(MPart part, boolean requiresFocus) {
		activate(part, requiresFocus, true);
	}
	private void activate(MPart part, boolean requiresFocus, boolean activateBranch) {
		
		if (!isInContainer(part)) {
			return;
		}
		MWindow window = getWindow();
		IEclipseContext windowContext = window.getContext();
		
		if (windowContext.getParent().getActiveChild() == windowContext && part == activePart) {
			return;
		}
		modelService.bringToTop(part);
		window.getParent().setSelectedElement(window);
		partActivationHistory.activate(part, activateBranch);
		Object object = part.getObject();