use of com.intellij.ide.util.newProjectWizard.WizardDelegate in project liferay-ide by liferay.
the class LiferayProjectTypeStep method _updateSelection.
private void _updateSelection() {
ProjectTemplate template = getSelectedTemplate();
if (template != null) {
_context.setProjectTemplate(template);
}
ModuleBuilder builder = _getSelectedBuilder();
_context.setProjectBuilder(builder);
if (builder != null) {
StepSequence stepSequence = _wizard.getSequence();
stepSequence.setType(builder.getBuilderId());
}
_wizard.setDelegate(builder instanceof WizardDelegate ? (WizardDelegate) builder : null);
_wizard.updateWizardButtons();
}
Aggregations