非模态JFace对话? [英] Non-Modal JFace Dialog?
本文介绍了非模态JFace对话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
简单地说:有没有办法创建非模态JFace对话框?我试过调用 setShellStyle
无济于事。如果我没记错,这不是摆动的问题 - 这是SWT的缺点,还是我只是误用了小部件?
Simply put: Is there any way to create non-modal JFace dialog? I've tried calling setShellStyle
to no avail. If I remember right this isn't a problem in swing - is this a shortcoming of SWT, or am I just misusing the widget?
TIA
推荐答案
使用
setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE);
setBlockOnOpen(false);
似乎是惯例。这不适合你吗?
seems to be the practice. This doesn't work for you?
这篇关于非模态JFace对话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文