Bug 67413 [KeyBindings] misc: Block accelerators that are in use
I meet a error after following these steps: - Remove hot keys Navigate->Open:F3 then add a new one Ctrl+Enter - Remove hot keys Edit->Find Previous:Ctrl+Shift+K then add a new one Shift+F3 - Remove hot keys Edit->Find Next:Ctrl+K then add a new one F3 Everything work fine with the new assigned keys except for editing an ant file (build.xml). When editing ant file, the ui understand the old hot keys: F3 for open and Ctrl+K for Find Next.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java
break;
                    }
                }
            };
        }
        return menuItemListener;
    }
    /**
     * Returns the presentation mode, which is the bitwise-or of the 
     * <code>MODE_*</code> constants.  The default mode setting is 0, meaning
     * that for menu items, both text and image are shown (if present), but for
     * tool items, the text is shown only if there is no image.
     * 
     * @return the presentation mode settings
     * 
     * @since 3.0
     */
    public int getMode() {
        return mode;
    }
    /**
     * Returns the listener for SWT tool item widget events.
     * 
     * @return a listener for tool item events
     */
    private Listener getToolItemListener() {
        if (toolItemListener == null) {
            toolItemListener = new Listener() {
                public void handleEvent(Event event) {
                    switch (event.type) {