@Override
public WizardPage getNextPage(WizardPage page) {
if (page == generateXsdPage) {
if (generateXsdPage.isYesSelected()) {
if (validationOptionsPage == null) {
validationOptionsPage = new XmlStructureOptionsPage(wizard, SourceTarget.Target, "");
}
return validationOptionsPage;
} else {
return standardChain.getFirstPage();
}