Bug 320142 Editors no longer activate when clicking on their tabs
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
return newBar;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.ui.workbench.modeling.EModelService#getTopLevelWindowFor(org.eclipse.e4.ui
	 * .model .application.ui.MUIElement)
	 */
	public MWindow getTopLevelWindowFor(MUIElement element) {
		EObjectImpl eObj = (EObjectImpl) element;
		while (eObj != null && !(eObj.eContainer() instanceof MApplication))
			eObj = (EObjectImpl) eObj.eContainer();
		if (eObj instanceof MWindow)
			return (MWindow) eObj;
		return null; 
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.ui.workbench.modeling.EModelService#getPerspectiveFor(org.eclipse.e4.ui.model
	 * .application.ui.MUIElement)
	 */
	public MPerspective getPerspectiveFor(MUIElement element) {
		EObjectImpl eObj = (EObjectImpl) element;
		while (!(eObj.eContainer() instanceof MApplication)
				&& !(eObj.eContainer() instanceof MPerspectiveStack))
			eObj = (EObjectImpl) eObj.eContainer();
		if (eObj instanceof MPerspective)