private void addStep(@NotNull ModelWizardStep<?> step){
  myContentPanel.add(step.getComponent(),Integer.toString(mySteps.size()));
  mySteps.add(step);
  for (  ModelWizardStep subStep : step.createDependentSteps()) {
    myStepOwners.put(subStep,step);
    addStep(subStep);
  }
}

private void addStep ( @ NotNull ModelWizardStep < ? > step ) { myContentPanel . add ( step . getComponent ( ) , Integer . toString ( mySteps . size ( ) ) ) ; mySteps . add ( step ) ; for ( ModelWizardStep subStep : step . createDependentSteps ( ) ) { myStepOwners . put ( subStep , step ) ; addStep ( subStep ) ; } }
populates the wizard with an additional step ( and any dependent steps it may have ) .
