summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorCezar Lenci2013-09-26 09:46:08 (EDT)
committer Paul Webster2013-09-26 09:46:08 (EDT)
commit75453d4ffdeac661f1f223ab8f17775e658bae65 (patch)
tree129b9354da3b8af48861d7add1fdb19d4e1f44e6
parent404de0c46b615941549236a471355104b80ce150 (diff)
downloadeclipse.platform.ui-75453d4ffdeac661f1f223ab8f17775e658bae65.zip
eclipse.platform.ui-75453d4ffdeac661f1f223ab8f17775e658bae65.tar.gz
eclipse.platform.ui-75453d4ffdeac661f1f223ab8f17775e658bae65.tar.bz2
Bug 345372 - [KeyBindings] 'Delete' key cannot be used as a key bindings
to a command Add Delete to the list of trapped keys. Signed-off-by: Cezar Lenci <cezar_cps@hotmail.com>
-rw-r--r--bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/keys/KeySequenceText.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/keys/KeySequenceText.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/keys/KeySequenceText.java
index dfab24b..a8f40e8 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/keys/KeySequenceText.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/keys/KeySequenceText.java
@@ -473,6 +473,7 @@ public final class KeySequenceText {
trappedKeys.add(SWTKeySupport.convertAcceleratorToKeyStroke(SWT.TAB
| SWT.SHIFT));
trappedKeys.add(SWTKeySupport.convertAcceleratorToKeyStroke(SWT.BS));
+ trappedKeys.add(SWTKeySupport.convertAcceleratorToKeyStroke(SWT.DEL));
List trappedKeyList = new ArrayList(trappedKeys);
TRAPPED_KEYS = Collections.unmodifiableList(trappedKeyList);
}