Bug 294796 [Contributions] API request: LegacyActionTools#escapeMnemonics(String)
bundles/org.eclipse.jface/src/org/eclipse/jface/action/StatusLineContributionItem.java
*/
	public void setText(String text) {
		Assert.isNotNull(text);
		this.text = escape(text);
		if (label != null && !label.isDisposed()) {
			label.setText(this.text);
		}
		if (this.text.length() == 0) {
			if (isVisible()) {
				setVisible(false);
				IContributionManager contributionManager = getParent();
				if (contributionManager != null) {
					contributionManager.update(true);
				}
			}
		} else {
			if (!isVisible()) {
				setVisible(true);
				IContributionManager contributionManager = getParent();
				if (contributionManager != null) {
					contributionManager.update(true);
				}
			}
		}
	}
	private String escape(String text) {
		return Util.replaceAll(text, "&", "&&");  
	}
}