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 (MPerspective) eObj;
		return null; 
	}
	public void removePerspectiveModel(MPerspective persp, MWindow window) {
		if (persp == null)
			return;
		for (MWindow win : persp.getWindows()) {
			win.setToBeRendered(false);
		}
		
		List<MTrimBar> bars = findElements(window, null, MTrimBar.class, null);
		List<MToolControl> toRemove = new ArrayList<MToolControl>();
		for (MTrimBar bar : bars) {
			for (MUIElement barKid : bar.getChildren()) {
				if (!(barKid instanceof MToolControl))
					continue;
				String id = barKid.getElementId();
				if (id != null && id.contains(persp.getElementId())) {
					toRemove.add((MToolControl) barKid);
				}
			}
		}
		for (MToolControl toolControl : toRemove) {
			toolControl.setToBeRendered(false);
			toolControl.getParent().getChildren().remove(toolControl);
		}