Jump to: navigation, search

FAQ What is a wizard?

Revision as of 15:19, 14 March 2006 by Claffra (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A wizard is a series of pages that guide a user through a complex task. Back and Next buttons allow the user to move forward and backward through the pages. Typically, each page collects a piece of information; when the user clicks the Finish button, the information is used to perform a task. At any time before clicking Finish, the user can cancel the task, which should undo any side effects of the steps completed so far. Figure 8.4 shows a simple wizard that is included in the FAQ Examples plug-in.



    <img src=../images/adding_wizard.png>


    Figure 8.4   Sample wizard


A wizard is typically presented in a dialog, but this is not required. The abstraction called IWizardContainer represents the context in which a wizard runs. A wizard container is guaranteed to have a title, a message area, and a progress monitor. A wizard must implement IWizard, and each page within the wizard must implement IWizardPage.




See Also:

FAQ_How_do_I_specify_the_order_of_pages_in_a_wizard?


FAQ_How_do_I_make_my_wizard_appear_in_the_UI?


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.