[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-dev] Nonmodal dialog
|
OK, thanks. I did
private class NonmodalWizardDialog extends WizardDialog{
NonmodalWizardDialog(){
super(new Shell(),MyWizard.this);
setShellStyle(SWT.SHELL_TRIM);
}
}
and that works perfectly.
Thanks,
Leen
On 9/1/05, Sumitabh Kansal <Sumitabh.Kansal@xxxxxxxxxxxxxxx> wrote:
> I think by default the wizard dialog is created APPLICATION_MODAL, so
> once it is created, call setShellStyle(SWT.MODELESS) should help. Make
> sure that you put in all the styles you want, as it is going to override
> the default styles.
>
> -----Original Message-----
> From: pde-dev-bounces@xxxxxxxxxxx [mailto:pde-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Leen Toelen
> Sent: Thursday, September 01, 2005 11:41 AM
> To: Eclipse PDE general developers list.
> Subject: Re: [pde-dev] Nonmodal dialog
>
> Hi,
>
> thanks for the reply. I tried
>
>
> WizardDialog dialog = new WizardDialog(new Shell(SWT.MODELESS |
> SWT.SHELL_TRIM), this);
> dialog.open();
>
>
> (with and without SHELL_TRIM actually) but none of the two calls work.
> <this> is an object that extends Wizard btw.
>
> Regards,
> Leen
>
> On 9/1/05, Cherie Wong <cherie.wong@xxxxxxxxx> wrote:
> > Hi,
> >
> > Check out SWT.MODELESS.
> >
> > Hth! :)
> >
> > Yours,
> > Cherie.
> >
> > On 9/1/05, Leen Toelen <toelen@xxxxxxxxx> wrote:
> > > Hi,
> > >
> > > I want to make a wizard in non-modal mode. i tried making a new
> > > Shell(SWT.SHELL_TRIM), but that still doesn't work. Anyone has an
> idea
> > > on how to do that?
> > >
> > > Regards
> > > Leen
> > > _______________________________________________
> > > pde-dev mailing list
> > > pde-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/pde-dev
> > >
> > _______________________________________________
> > pde-dev mailing list
> > pde-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/pde-dev
> >
> _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-dev
> _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-dev
>