|
Re: Open a JFace Dialog over another JFace Dialog [message #1123078 is a reply to message #1113654] |
Wed, 02 October 2013 03:08  |
Eclipse User |
|
|
|
If you want to block the dialog I would not override the open method because you would have to open your dialog before calling super.open(). By that time the FormDialog shell has not yet been created and you need to show your MessageDialog over that shell. Instead you could simply add the follwing asyncExec to your implementation of createFormContent().
getShell().getDisplay().asyncExec(new Runnable() {
@Override
public void run() {
MessageDialog.openInformation(getShell(), "Some Title", "Some info to the user");
}
});
HTH
Thorsten
|
|
|
Powered by
FUDForum. Page generated in 0.06467 seconds