Bug 512571 - Add mnemonics

Change-Id: I62932d4575604925ac9318bca92a950e3243d9ad
Signed-off-by: Mickael Istria <mistria@redhat.com>
diff --git a/bundles/org.eclipse.ui.ide.application/plugin.properties b/bundles/org.eclipse.ui.ide.application/plugin.properties
index 82922f0..d9ef094 100644
--- a/bundles/org.eclipse.ui.ide.application/plugin.properties
+++ b/bundles/org.eclipse.ui.ide.application/plugin.properties
@@ -32,3 +32,7 @@
 command.clone.mnemonic = e
 command.split.horizontal.mnemonic = H
 command.split.vertical.mnemonic = V
+command.wordwrap.mnemonic=W
+command.whitespace.mnemonic=s
+command.zoomIn.mnemonic=I
+command.zoomOut.mnemonic=O
diff --git a/bundles/org.eclipse.ui.ide.application/plugin.xml b/bundles/org.eclipse.ui.ide.application/plugin.xml
index 7142761..9ebac42 100644
--- a/bundles/org.eclipse.ui.ide.application/plugin.xml
+++ b/bundles/org.eclipse.ui.ide.application/plugin.xml
@@ -119,6 +119,7 @@
             </command>
             <command
                   commandId="org.eclipse.ui.edit.text.toggleWordWrap"
+                  mnemonic="%command.wordwrap.mnemonic"
                   style="push">
                <visibleWhen
                      checkEnabled="true">
@@ -126,6 +127,7 @@
             </command>
             <command
                   commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
+                  mnemonic="%command.whitespace.mnemonic"
                   style="push">
                <visibleWhen
                      checkEnabled="true">
@@ -133,6 +135,7 @@
             </command>
             <command
                   commandId="org.eclipse.ui.edit.text.zoomIn"
+                  mnemonic="%command.zoomIn.mnemonic"
                   style="push">
                <visibleWhen
                      checkEnabled="true">
@@ -140,6 +143,7 @@
             </command>
             <command
                   commandId="org.eclipse.ui.edit.text.zoomOut"
+                  mnemonic="%command.zoomOut.mnemonic"
                   style="push">
                <visibleWhen
                      checkEnabled="true">