void (@NotNull String defaultPath) { myWizardContext.addContextListener(new WizardContext.Listener() { @Override public void buttonsUpdateRequested() { updateButtons(); } @Override public void nextStepRequested() { proceedToNextStep(); } }); for (ModuleWizardStep step : myStepSequence.getAllSteps()) { addStep(step); } for (ProjectImportProvider provider : myImportProviders) { provider.getBuilder().setFileToImport(defaultPath); } if (myImportProviders.size() == 1) { var builder = myImportProviders.get(0).getBuilder(); myWizardContext.setProjectBuilder(builder); builder.setUpdate(getWizardContext().getProject() != null); } init(); }