Community
Participate
Working Groups
Scenario: I need to add 4 pages to the wizard by default. But on 2nd page I need to give a checkbox to the user, which if ticked, should remove the next 2 pages from the wizard and a different set of pages to it. In present scenario I can add a page but do not see any option provided by the wizard to remove a particular page. If the use case is valid, I can try to contribute to this requirement.
and add* a different set of pages to it
You can already control the flow of pages. See http://www.vogella.com/tutorials/EclipseWizards/article.html#changing-the-page-order
Sorry I was not precise about the scenario. In the shared example, the WizardPage(s) are added at the start. Detailed Scenario: I need to add 4 pages to the wizard by default. But on 2nd page I need to give a drop down to the user. The drop down items will be contributed by the extensions. Based on the selection, 3rd and 4th page needs to be removed and different set of pages need to be added, which are also contributed by the extensions. There can be many extensions which provide the item for drop down and corresponding WizardPage implementations which need to be added to the wizard when the drop down selection is set. We cannot create all the possible pages from different extensions and add them to the wizard first and reorder them based on drop down selection, since there can be many extensions.
Also possible, see https://stackoverflow.com/questions/19163334/eclipse-j-face-wizard-how-to-create-next-page-dynamically