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
/*
	 * (non-Javadoc) Method declared on IContributionItem.
	 */
	public boolean isEnabled() {
		return action != null && action.isEnabled();
	}
	/**
	 * Returns <code>true</code> if this item is allowed to enable,
	 * <code>false</code> otherwise.
	 * 
	 * @return if this item is allowed to be enabled
	 * @since 2.0
	 */
	protected boolean isEnabledAllowed() {
		if (getParent() == null) {
			return true;
		}
		Boolean value = getParent().getOverrides().getEnabled(this);
		return (value == null) ? true : value.booleanValue();
	}
	/**
	 * The <code>ActionContributionItem</code> implementation of this
	 * <code>ContributionItem</code> method extends the super implementation
	 * by also checking whether the command corresponding to this action is
	 * active.
	 */
	public boolean isVisible() {
		return super.isVisible() && isCommandActive();
	}
	/**