void () { ProjectTemplate template = getSelectedTemplate(); if (template != null) { myContext.setProjectTemplate(template); } ModuleBuilder builder = getSelectedBuilder(); LOG.debug("builder=" + builder + "; template=" + template + "; group=" + getSelectedGroup() + "; groupIndex=" + myProjectTypeList.getMinSelectionIndex()); myContext.setProjectBuilder(builder); if (builder != null) { StepSequence sequence = myWizard.getSequence(); sequence.setType(builder.getBuilderId()); sequence.setIgnoredSteps(builder.getIgnoredSteps()); } myWizard.setDelegate(builder instanceof WizardDelegate ? (WizardDelegate)builder : null); myWizard.updateWizardButtons(); NewProjectWizardCollector.logGeneratorSelected(myContext); }