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
* 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) {
					case SWT.Dispose:
						handleWidgetDispose(event);
						break;
					case SWT.Selection:
						Widget ew = event.widget;
						if (ew != null) {
							handleWidgetSelection(event, ((ToolItem) ew)
									.getSelection());
						}
						break;