[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: SWT with dialogue features

Create your dialog shell with SWT.SYSTEM_MODAL style.
Read the class comment for Shell for a description of modality.
Note that modality styles are "HINTS" meaning they may or may not be 
supported by the platform you are running on.
Note also that you will want to | with SWT.CLOSE at least, because if you 
bring up a system modal dialog without any way to close it, you may need to 
use the power switch to restart your computer...
One final note: using system_modal to "freeze up" the system is a practice 
that is generally frowned upon these days (in fact, most of the platforms 
doesn't even support it any more)... so you might want to reconsider, and 
just use APPLICATION_MODAL instead.
Carolyn

"Gaff" <conorgaff@xxxxxxxxxxx> wrote in message 
news:2226295bf5ab3b080cc61c0ae65363e4$1@xxxxxxxxxxxxxxxxxx
> Hey,
>
> I have a plug-in that has a dialogue pop up as part of it's funtionality, 
> when the dialog pops up eclispe and everything else freezes until the 
> dialog is closed.
>
> I'd like to replace this with SWT window, is there anyway to duplicate 
> this freezing affect with SWT?
>
> Thanks,
>
> Gaff
>