当我打开任何其他窗口时如何使我的对话框隐藏
我正在使用 jface 对话框,现在我面临一个问题,无论您打开哪个窗口,此对话框都会出现在该窗口之上。所以我需要隐藏或显示它,以便它只出现在其父窗口上,而不是出现在所有窗口上。
I am using a jface dialog, and now i am facing a problem where no matter which window you open this dialog will appear on top of that. So i need to hide or show it such that it should come only on its parent window, not on all the windows.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保将正确的窗口作为父 shell 传递给对话框。
Make sure you are passing the correct window as the parent shell to the dialog.