How do I get the workbench window to open a modal dialog in an Eclipse based project?

后端 未结 3 1068
夕颜
夕颜 2021-02-12 15:07

In order to open a modal dialog, you need to pass a parent window, and pass the necessary flags for the dialog to be modal of course.

Depending on where you are in the e

3条回答
  •  野的像风
    2021-02-12 15:45

    Not quite exactly what you want to do but you may need to use SWT.APPLICATION_MODAL, SWT.DIALOG_TRIM etc. when creating your dialog in order to make it a modal dialog (but perhaps that's not what your question was about).

    See this link for more info.

提交回复
热议问题