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
button.setSelection(bv);
                }
                return;
            }
        }
    }
    /**
     * Updates the images for this action.
     *
     * @param forceImage <code>true</code> if some form of image is compulsory,
     *  and <code>false</code> if it is acceptable for this item to have no image
     * @return <code>true</code> if there are images for this action, <code>false</code> if not
     */
    private boolean updateImages(boolean forceImage) {
        ImageCache cache = getImageCache();
        if (widget instanceof ToolItem) {
            if (USE_COLOR_ICONS) {
                Image image = cache.getImage(action.getHoverImageDescriptor());
                if (image == null) {
                    image = cache.getImage(action.getImageDescriptor());
                }
                Image disabledImage = cache.getImage(action
                        .getDisabledImageDescriptor());
                
                if (image == null && forceImage) {
                    image = cache.getMissingImage();
                }
                
                if (disabledImage != null) {