|Key bindings in a Dialog [message #1786871]
||Mon, 14 May 2018 14:44
| Mariano Camarzana
Registered: July 2017
I recently completed a successful migration of a complex system divided into several modules developed in Eclipse RCP, moving from Eclipse 3.7 to Eclipse 4.7 using Compatibility Layer in conjunction with Tycho to make deploy.|
While doing a review of the system's functionality I realized that when I open a Dialog the key bindings of the main view are not deactivated. With which it captures the wrong key binding.
In the KeyBindingDispatcher class when executing the method press(List <KeyStroke> potentialKeyStrokes, Event event) when you perform isUniqueMatch (sequenceAfterKeyStroke, createContext) return true and then retrieve the keybinding from the main view. In E3, however, it continues with the execution flow and ends with the execution of the key binding defined in the Dialog.
Can someone give me a clue as to how to open the Dialog and only execute the key bindings of the Dialog?.
Thanks in advance!
Eclipse RCP 4.7 Oxygen
Powered by FUDForum
. Page generated in 0.01843 seconds