@Override
  protected SettingsEditor<? extends RunConfiguration> createConfigurationEditor() {
    final SphinxTasksModel model = new SphinxTasksModel();
    if (!model.contains("pdf") && getSdk() != null) {
      final List<PyPackage> packages = PyPackageManager.getInstance(getSdk()).getPackages();
      if (packages != null) {
        final PyPackage rst2pdf = PyPsiPackageUtil.findPackage(packages, "rst2pdf");
        if (rst2pdf != null) {
          model.add(13, "pdf");
        }
      }
    }

    RestConfigurationEditor editor = new RestConfigurationEditor(getProject(), this, model);
    editor.setConfigurationName("Sphinx task");
    editor.setOpenInBrowserVisible(false);
    editor.setInputDescriptor(FileChooserDescriptorFactory.createSingleFolderDescriptor());
    editor.setOutputDescriptor(FileChooserDescriptorFactory.createSingleFolderDescriptor());
    return editor;
  }
@Override
  protected SettingsEditor<? extends RunConfiguration> createConfigurationEditor()