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 (getContextMenuManager() != null) {
            getContextMenuManager().dispose();
            setContextMenuManager(null);
        }
    }
    /**
     * Returns the tool bar control for this manager.
     *
     * @return the tool bar control, or <code>null</code>
     *  if none (before creating or after disposal)
     */
    public ToolBar getControl() {
        return toolBar;
    }
    /**
     * Re-lays out the tool bar.
     * <p>
     * The default implementation of this framework method re-lays out
     * the parent when the number of items crosses the zero threshold. 
     * Subclasses should override this method to implement their own 
     * re-layout strategy
     *
     * @param toolBar the tool bar control
     * @param oldCount the old number of items
     * @param newCount the new number of items
     */
    protected void relayout(ToolBar toolBar, int oldCount, int newCount) {
        if ((oldCount == 0) != (newCount == 0))
            toolBar.getParent().layout();