public void setOriginalGenModelFile(IFile originalGenModelFile) {
    this.originalGenModelFile = originalGenModelFile;
    if (originalGenModelFile != null) {
      setWindowTitle(ImporterPlugin.INSTANCE.getString("_UI_ReloadWizard_title"));
      try {
        getModelImporter().defineOriginalGenModelPath(originalGenModelFile.getFullPath());
      } catch (DiagnosticException exception) {
        String message =
            getModelImporter().getOriginalGenModel() != null
                ? ImporterPlugin.INSTANCE.getString("_UI_ProblematicModel_message")
                : ImporterPlugin.INSTANCE.getString("_UI_InvalidModel_message");

        Diagnostic diagnostic = exception.getDiagnostic();
        DiagnosticDialog.open(
            getShell(),
            GenModelEditPlugin.INSTANCE.getString("_UI_ModelProblems_title"),
            message,
            diagnostic);
      }
    }
  }
  @Override
  public boolean performFinish() {
    if (super.performFinish()) {
      IFile genModelFile = getFile(getModelImporter().getGenModelPath());
      if (getModelImporter().getOriginalGenModelPath() == null) {
        selectFile(genModelFile);
      }

      try {
        openEditor(genModelFile);
      } catch (PartInitException partInitException) {
        MessageDialog.openError(
            getShell(),
            ImporterPlugin.INSTANCE.getString("_UI_OpenEditor_title"),
            partInitException.getMessage());
        return false;
      }

      return true;
    } else {
      return false;
    }
  }