Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » wizard scenario that is imposible under eclipse
wizard scenario that is imposible under eclipse [message #154089] Fri, 07 November 2003 11:36 Go to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.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 #154105 is a reply to message #154089] Fri, 07 November 2003 12:18 Go to previous messageGo to next message
Eclipse UserFriend
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 14:47 Go to previous message
Eclipse UserFriend
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?
> >
> >
>
>
Previous Topic:JVM terminated. Exit Code=1
Next Topic:"The project cannot be built until build path errors are resolved."
Goto Forum:
  


Current Time: Sat Jul 12 13:10:49 EDT 2025

Powered by FUDForum. Page generated in 0.04522 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top