@Override
  public @Nullable EditorColorsScheme importScheme(@NotNull Project project,
                                                   @NotNull VirtualFile selectedFile,
                                                   @NotNull EditorColorsScheme currentScheme,
                                                   @NotNull SchemeFactory<? extends EditorColorsScheme> schemeFactory) throws SchemeImportException {
    Element root = SchemeImportUtil.loadSchemeDom(selectedFile);
    String name = getSchemeName(root);
    EditorColorsScheme scheme = schemeFactory.createNewScheme(name);
    String preferredName = scheme.getName();
    scheme.readExternal(root);
    scheme.setName(preferredName);
    try {
      EditorColorsManager.getInstance().resolveSchemeParent(scheme);
    }
    catch (InvalidDataException e) {
      throw new SchemeImportException("Required " + e.getMessage() + " base scheme is missing or is not a bundled (read-only) scheme.");
    }
    return scheme;
  }
@Override
  public @Nullable EditorColorsScheme importScheme(@NotNull Project project,
                                                   @NotNull VirtualFile selectedFile,
                                                   @NotNull EditorColorsScheme currentScheme,
                                                   @NotNull SchemeFactory<? extends EditorColorsScheme> schemeFactory)