Also Thanks for the info, I will admit I never heard of something being "modal" and "non-modal" so I did not even think of using that term in my google searches, but from your post I ended up putting that in and ended up at the anser at this site.
<site removed as appently I can not post links yet. but here is the text from the site
|
Quote:
|
This question would be better asked on the platform newsgroup, since it's not related to JDT at all. Looking at the Dialog class' constructor I see:
protected Dialog(IShellProvider parentShell) {
super(parentShell);
setShellStyle(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL
| getDefaultOrientation());
setBlockOnOpen(true);
}
I don't know if you can call setShellStyle again in a derived constructor.
kumardi@xxxxxxxxxx wrote:
Hi,
Could anyone please tell me if there is a way to create a non-modal dialog as
part of the org.eclipse.jface.dialogs class ?
I tried looking into help and docs but could'nt find which of the standard dialogs is a
non-modal. If there is none then how do I create a non-modal or modeless dialog that
I want to use in a Java plug-in ?
Thanks,
Dinesh
|
>
Again thanks.