Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Key listener and Global actions in Eclipse.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On February 26, 2004 09:15 am, Arnaud De Muyser wrote:
> The only solution I've found is: If I handle key in my listener, then I
> reset event.keyCode to 0: other listener
> receive this keyCode and do what they want for keyCode 0.

event.doit = false;
event.type = SWT.NONE;


Look in WorkbenchKeyboard to see how Platform-UI handles key events.



Cheers,
Doug.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAPg5wLhh1LVU8SusRApZJAJ0U32wZGdYzK3x1DbmrmB59ptZqgACgiqJZ
rm0QxLv3Jp3qGZbPsq3PDSc=
=oN6J
-----END PGP SIGNATURE-----


Back to the top