Bug 204458 [Commands] Allow menu and toolbars to fire execution events
Keybindings will currently fire execution events when executing actions from the action framework. i.e. IActions with their actionDefinitionId set and IActionDelegates with the definitionId attribute in their action contributions. But it would be nice if selecting the menu or tool item would also fire the equivalent events. PW
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/CommandManager.java
* character.
	 * 
	 * @param escapedText
	 *            a <code>String</code> that may contain escaped special
	 *            characters for command serialization.
	 * @return a <code>String</code> representing <code>escapedText</code>
	 *         with any escaped characters replaced by their literal values
	 * @throws SerializationException
	 *             if <code>escapedText</code> contains an invalid escape
	 *             sequence
	 * @see ParameterizedCommand#escape(String)
	 * @since 3.2
	 */
	private static final String unescape(final String escapedText)
			throws SerializationException {
		
		StringBuffer buffer = null;
		for (int i = 0; i < escapedText.length(); i++) {
			char c = escapedText.charAt(i);
			if (c != ESCAPE_CHAR) {
				
				if (buffer != null) {
					buffer.append(c);
				}
			} else {
				if (buffer == null) {
					buffer = new StringBuffer(escapedText.substring(0, i));
				}
				if (++i < escapedText.length()) {
					c = escapedText.charAt(i);