Bug 324839 Secondary part selected by EPS due to initially selected part being hidden and removed does not get rendered
1. Have a stack with two parts in it, the selected one has been rendered, the other one is not. 2. Hide the selected part using the EPS. 3. The other part is now the selected part, but it is not rendered.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
} else if (ref instanceof MElementContainer<?>) {
					if (isInContainer((MElementContainer<?>) ref, part)) {
						return true;
					}
				}
			} else if (object instanceof MPerspective) {
				MPerspective persp = (MPerspective) object;
				for (MWindow dw : persp.getWindows()) {
					if (isInContainer(dw, part))
						return true;
				}
			} else if (object instanceof MWindow) {
				MWindow win = (MWindow) object;
				for (MWindow dw : win.getWindows()) {
					if (isInContainer(dw, part))
						return true;
				}
			}
		}
		if (container instanceof MWindow) {
			MWindow win = (MWindow) container;
			for (MWindow dw : win.getWindows()) {
				if (isInContainer(dw, part))
					return true;
			}
		}
		if (container instanceof MPerspective) {
			MPerspective persp = (MPerspective) container;
			for (MWindow dw : persp.getWindows()) {
				if (isInContainer(dw, part))