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
tabMenu.setData(STACK_SELECTED_PART, part);
		tabMenu.setLocation(point.x, point.y);
		tabMenu.setVisible(true);
	}
	private Menu createTabMenu(CTabFolder folder) {
		Shell shell = folder.getShell();
		Menu cachedMenu = (Menu) shell.getData(SHELL_CLOSE_EDITORS_MENU);
		if (cachedMenu != null) {
			return cachedMenu;
		}
		final Menu menu = new Menu(folder);
		shell.setData(SHELL_CLOSE_EDITORS_MENU, menu);
		MenuItem menuItemClose = new MenuItem(menu, SWT.NONE);
		menuItemClose.setText(SWTRenderersMessages.menuClose);
		menuItemClose.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				MPart part = (MPart) menu.getData(STACK_SELECTED_PART);
				EPartService partService = getContextForParent(part).get(
						EPartService.class);
				if (partService.savePart(part, true))
					partService.hidePart(part);
			}
		});
		MenuItem menuItemOthers = new MenuItem(menu, SWT.NONE);
		menuItemOthers.setText(SWTRenderersMessages.menuCloseOthers);
		menuItemOthers.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				MPart part = (MPart) menu.getData(STACK_SELECTED_PART);
				closeSiblingEditors(part, true);
			}