|
Re: wizard scenario that is imposible under eclipse [message #154105 is a reply to message #154089] |
Fri, 07 November 2003 17:18 |
Eclipse User |
|
|
|
Originally posted by: janestockdill.hotmail.com
Just an idea as I'm just learning about wizards myself. Could you add a
listener to the control you are using for the selection
then dynamically create the page and add it. Not sure how well this would
work if the user changed there mind several times as
I can't see a way to remove a page.
Something along the lines of the below to the listener code ??
MyWizard wizard = ((MyWizard)getWizard());
wizard.page3 = new MyWizardPage();
wizard.addPage(wizard.page3);
Let me know if you find the answer as this would be helpful to me too.
Thanks
Jane
"Alex" <nospam@nospam.org> wrote in message news:boghh5$4t5$1@eclipse.org...
> I am creating a wizard. the second page should be added or not based on
the
> selection on the first page.
> Is this possible?
>
>
|
|
|
Re: wizard scenario that is imposible under eclipse [message #154256 is a reply to message #154105] |
Fri, 07 November 2003 19:47 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.org
WizardPage.canFlipToNextPage() worked for me
"Jane Stockdill" <janestockdill@hotmail.com> wrote in message
news:bogk83$81j$1@eclipse.org...
> Just an idea as I'm just learning about wizards myself. Could you add a
> listener to the control you are using for the selection
> then dynamically create the page and add it. Not sure how well this would
> work if the user changed there mind several times as
> I can't see a way to remove a page.
> Something along the lines of the below to the listener code ??
> MyWizard wizard = ((MyWizard)getWizard());
>
> wizard.page3 = new MyWizardPage();
>
> wizard.addPage(wizard.page3);
>
> Let me know if you find the answer as this would be helpful to me too.
>
> Thanks
>
> Jane
>
> "Alex" <nospam@nospam.org> wrote in message
news:boghh5$4t5$1@eclipse.org...
> > I am creating a wizard. the second page should be added or not based on
> the
> > selection on the first page.
> > Is this possible?
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02831 seconds