super.addPages();
}
@Override
public IWizardPage getNextPage(IWizardPage page) {
IWizardPage currentPage = page;
if (currentPage == _selectTemplatePage) {
ProjectTemplate projectTemplate = _selectTemplatePage.getSelectedProjectTemplate();
setProjectTemplate(projectTemplate);
if (projectTemplate != null && projectTemplate.getInputs().size() == 0) {
currentPage = _templateInputsPage;
}
}
IWizardPage nextPage = super.getNextPage(currentPage);
if (nextPage == _templateInputsPage) {
_templateInputsPage.setProjectTemplate(getProjectTemplate());
}
return nextPage;
}