Global Key Listener [message #1027045] |
Tue, 26 March 2013 09:56  |
Eclipse User |
|
|
|
Hello,
I'd like to assign a 'global' key listener to my custom eclipse preference page. My page contains some composites with 3 tables as childs. So at the moment I assigned the listener to my parent composite inside the createContents method of the preference page.
parent.gerShell().getDisplay().addFilter(SWT.KeyDown, keyDownListener);
This works fine until I make any selections inside the table. If the table is "active" the key listener is not listening anymore. Are there any other places I have to assign the listener to make it work global? I tried to assign it to the tableViewer control and table but this is not working.
Any ideas?
Greetings,
Sascha
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05072 seconds