Skip to content

New wizards

Martin Malina edited this page Mar 28, 2014 · 4 revisions

API / Abstract

Implementation

Test Implementation

Usage

Implement New Wizard Dialog

private class NewWizardDialogImpl extends NewWizardDialog {
  public NewWizardDialogImpl() {
    super(<category>, <name>);
  }
  @Override
  public WizardPage getFirstPage() {
    return <wizard page>;
   }
}

Open New Wizard

NewWizardDialogImpl newWizardDialogImpl = new NewWizardDialogImpl();
newWizardDialogImpl.open();

Move to next page

newWizardDialogImpl.next();

Select page

newWizardDialogImpl.selectPage(pageIndex);

Finish Wizard

newWizardDialogImpl.finish();
Clone this wiki locally