void () { ModuleBuilder builder = getSelectedBuilder(); if (builder != null) { myWizard.getSequence().addStepsForBuilder(builder, myContext, myModulesProvider); } ModuleWizardStep step = getCustomStep(); if (step != null) { step.updateDataModel(); } if (mySettingsStep != null) { mySettingsStep.updateDataModel(); } }