[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Doing some action upon key press

Hello,

I have a dialog window (a progress window, which tracks a certain operation)
which should be closed when user presses ESC and the operation this dialog
tracks should be canceled. How can I do this best? The closing of the dialog is
already automatically done when pressing ESC, but how can I listen to the key
press and cancel the operation? Adding a key listener to the shell does not work.


Jens