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/action/ActionContributionItem.java
*/
    public void fill(Composite parent) {
        if (widget == null && parent != null) {
            int flags = SWT.PUSH;
            if (action != null) {
                if (action.getStyle() == IAction.AS_CHECK_BOX)
                    flags = SWT.TOGGLE;
                if (action.getStyle() == IAction.AS_RADIO_BUTTON)
                    flags = SWT.RADIO;
            }
            Button b = new Button(parent, flags);
            b.setData(this);
            b.addListener(SWT.Dispose, getButtonListener());
            
            b.addListener(SWT.Selection, getButtonListener());
            if (action.getHelpListener() != null)
                b.addHelpListener(action.getHelpListener());
            widget = b;
            update(null);
            
            action.addPropertyChangeListener(propertyListener);
            if (action != null) {
                String commandId = action.getActionDefinitionId();
                ExternalActionManager.ICallback callback = ExternalActionManager
                        .getInstance().getCallback();
                if ((callback != null) && (commandId != null)) {
                    callback.addPropertyChangeListener(commandId,
                            actionTextListener);
                }
            }