public void prepare(@NotNull WizardContext context) {
    if (context.getProjectJdk() == null) {
      context.setProjectJdk(resolveProjectJdk(context));
    }
    C control = getControl();
    control.setShowProjectFormatPanel(context.isCreatingNewProject());
    control.reset(context, null);
    String pathToUse = getFileToImport();
    control.setLinkedProjectPath(pathToUse);
    doPrepare(context);
  }
public void prepare(@NotNull WizardContext context)