public void addPage ( WizardPage < DATA > page ) { if ( ! started ) { WizardPage < DATA > lastPage = pages . size ( ) > 0 ? pages . get ( pages . size ( ) - 1 ) : null ; if ( lastPage != null ) { lastPage . setNextPage ( page ) ; page . setPreviousPage ( lastPage ) ; } pages . add ( page ) ; wizardView . addPageToView ( page ) ; } }
Adds a page to this wizard . The page order is determined by the order in which pages are added .