Bug 325722 'Close'-related context menu actions should show up for all stacks and apply to all items
See bug title ;)
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
public void run() {
			activationJob = null;
			if (stackToActivate != null
					&& stackToActivate.getSelectedElement() != null) {
				
				
				
				
				MWindow win = modelService
						.getTopLevelWindowFor(stackToActivate);
				MPerspective activePersp = modelService
						.getActivePerspective(win);
				MPerspective myPersp = modelService
						.getPerspectiveFor(stackToActivate);
				if (activePersp != null && myPersp != activePersp)
					return;
				MUIElement selElement = stackToActivate.getSelectedElement();
				if (!selElement.isToBeRendered())
					return;
				if (selElement instanceof MPlaceholder)
					selElement = ((MPlaceholder) selElement).getRef();
				activate((MPart) selElement);
			}
		}
	}
	private ActivationJob activationJob = null;
	synchronized private void activateStack(MElementContainer<MUIElement> stack) {
		CTabFolder ctf = (CTabFolder) stack.getWidget();
		if (ctf == null || ctf.isDisposed())
			return;