Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2013-07-18 10:58:36 -0400
committerTom Schindl2013-07-18 10:58:36 -0400
commit62b0529ad4b1dfbedb44ff072be064cc9ff6a72d (patch)
treec7e83b198448f73ddc24bea0b24770b7970d544d
parent15052ea8db462584f9ee333d472f2ab219b03245 (diff)
downloadorg.eclipse.efxclipse-62b0529ad4b1dfbedb44ff072be064cc9ff6a72d.tar.gz
org.eclipse.efxclipse-62b0529ad4b1dfbedb44ff072be064cc9ff6a72d.tar.xz
org.eclipse.efxclipse-62b0529ad4b1dfbedb44ff072be064cc9ff6a72d.zip
Bug 413254 - Add easy way for Keybinding Handlers to delegate to native
implementation
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/key/KeyBindingDispatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/key/KeyBindingDispatcher.java b/bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/key/KeyBindingDispatcher.java
index ca956eb99..c2bfdf52e 100755
--- a/bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/key/KeyBindingDispatcher.java
+++ b/bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/key/KeyBindingDispatcher.java
@@ -349,7 +349,7 @@ public class KeyBindingDispatcher {
try {
Object o = handlerService.executeHandler(parameterizedCommand, staticContext);
- if( o instanceof NativeStrategy && o == NativeStrategy.PROCEED ) {
+ if( o == NativeStrategy.PROCEED ) {
return false;
}
} catch (final Exception e) {

Back to the top