Bug 46469 [Contributions] widgets: Tooltips for menu/toolbar items should include all key bindings
Tooltips can include short-cut key information. - For example tooltip for resume button can be 'Resume (F8)'. - Short-cut key information can be displayed at a newline, for example Resume F8 - This feature can be configurable so that it can be turned off by experienced users. It can be configured to show 1) nothing 2) 'Resume' 3) 'Resume (F8)' 4) 'F8' 5) 'Resume' F8
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java
/**
	 * Mode bit: Show text on tool items, even if an image is present. If this
	 * mode bit is not set, text is only shown on tool items if there is no
	 * image present.
	 * 
	 * @since 3.0
	 */
	public static int MODE_FORCE_TEXT = 1;
	
	private static final String ellipsis = "..."; 
	private static boolean USE_COLOR_ICONS = true;
	/**
	 * Returns whether color icons should be used in toolbars.
	 * 
	 * @return <code>true</code> if color icons should be used in toolbars,
	 *         <code>false</code> otherwise
	 */
	public static boolean getUseColorIconsInToolbars() {
		return USE_COLOR_ICONS;
	}
	/**
	 * Sets whether color icons should be used in toolbars.
	 * 
	 * @param useColorIcons