| [news.eclipse.platform.swt] Re: Recognizing that a shell gets blocked |
Magnus
Hi,
not sure if this is the most elegant way but you can register a listener to SWT Displayer (SWT#addFilter) which in turn could determinate if the shell is blocking or not and then disabled what you want.
Just some thoughts Benny
Magnus Konze wrote:Hi! Is there a way to recognize, that a shell gets blocked by a new dialog?
I'm using the SWT_AWT bridge. When opening a SWT-Dialog from an embedded SWT-Composite, i would like to disable the Swing-Window. I don't want to do this manually everytime a dialog opens. It would be great, if this could be done in a listener attached to the embedded Shell, but the one i tried (ShellListener, FocusListener) aren't called, when opening a dialog.
Any ideas?
Regards Magnus