Bug 80644 [KeyBindings] misc: Wrong shortcut displayed in menu for copy using Emacs
Version: 3.1.0 Build id: 200412070800 Copy in Emacs is "Alt-W", the shortcut works perfectly but all the menus in Eclipse show "Ctrl-c" as the copy shortcut, which has other semantics in the Emacs configuration. Similarly, the standard shortcuts to cut and paste text are "Ctrl-w" and "Ctrl-y", but the menus indicate "Shift-Delete" and "Shift-Insert" instead, which work as well but are more difficult to perform and probably less common.
bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/BindingManager.java
*/
	private final Map createFilteredContextTreeFor(final Set contextIds) {
		
		boolean dialog = false;
		boolean window = false;
		Iterator contextIdItr = contextIds.iterator();
		while (contextIdItr.hasNext()) {
			final String contextId = (String) contextIdItr.next();
			if (IContextIds.CONTEXT_ID_DIALOG.equals(contextId)) {
				dialog = true;
				continue;
			}
			if (IContextIds.CONTEXT_ID_WINDOW.equals(contextId)) {
				window = true;
				continue;
			}
		}
		/*
		 * Remove all context identifiers for contexts whose parents are dialog
		 * or window, and the corresponding dialog or window context is not
		 * active.
		 */
		try {
			contextIdItr = contextIds.iterator();
			while (contextIdItr.hasNext()) {
				String contextId = (String) contextIdItr.next();
				Context context = contextManager.getContext(contextId);
				String parentId = context.getParentId();
				while (parentId != null) {
					if (IContextIds.CONTEXT_ID_DIALOG.equals(parentId)) {