Bug 40965 [Workbench] Tool bar buttons require mouse focus to get read using MSAA
20030730 When you cycle through buttons using the mouse the tooltip value will not be given to the MSAA interface. If you select using a mouse it will. STEPS 1) Start up Inspect Objects 2) Tab through Eclipse until you get focus on a tool bar button. There will be no name or value 3) Move the button over with the mouse - you will get tool tip text
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarManager.java
if ((menuWidget == null) || (menuWidget.isDisposed())) {
                menuWidget = contextMenuManager.createContextMenu(toolBar);
            }
            return menuWidget;
        }
        return null;
    }
    /**
     * Returns the context menu manager for this tool bar manager.
     * 	
     * @return the context menu manager, or <code>null</code> if none
     * @since 3.0
     */
    public MenuManager getContextMenuManager() {
        return contextMenuManager;
    }
    /**
     * Sets the context menu manager for this tool bar manager to the given menu manager.
     * If the tool bar control exists, it also adds the menu control to the tool bar.
     * 	
     * @param contextMenuManager the context menu manager, or <code>null</code> if none
     * @since 3.0
     */
    public void setContextMenuManager(MenuManager contextMenuManager) {
        this.contextMenuManager = contextMenuManager;
        if (toolBar != null) {
            toolBar.setMenu(getContextMenuControl());
        }
    }
}