Dialog Box [message #450889] |
Sat, 19 February 2005 21:49 |
Eclipse User |
|
|
|
Originally posted by: pypatel.uci.edu
I was wondering if someone could help me create a dialog box that would not
allow a user to select the source shell without closes teh dialog shell.
I.e. say i had two shells, shell 1 is the main window and shell 2 is the
dialog
If shell 2 is opened, I don't want shell 1 to be accessible unless they
close shell two.
Is there a way to do this in SWT without using logic? If so, please advise.
Thanks in advance.
|
|
|
|
Re: Dialog Box [message #450899 is a reply to message #450892] |
Sun, 20 February 2005 21:40 |
Eclipse User |
|
|
|
Originally posted by: Nightwing812.gmail.com
I wanted to stay away from using JFace, and it seems like the
APPLICATION_MODAL settings works. Thanks for your help!
Pranav
Roshan wrote:
> You could use the org.eclipse.jface.dialogs.Dialog class.
> This opens up a modal dialog inside the parent shell.
> Alternatively you can set the style of your shell to (SWT.DIALOG_TRIM |
> SWT.APPLICATION_MODAL)
> Roshan
> Premal Patel wrote:
>> I was wondering if someone could help me create a dialog box that would not
>> allow a user to select the source shell without closes teh dialog shell.
>>
>> I.e. say i had two shells, shell 1 is the main window and shell 2 is the
>> dialog
>>
>> If shell 2 is opened, I don't want shell 1 to be accessible unless they
>> close shell two.
>>
>> Is there a way to do this in SWT without using logic? If so, please advise.
>>
>> Thanks in advance.
>>
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03052 seconds