void changeScheme(@NotNull FileTemplatesScheme scheme) {
    if (editor != null && editor.isModified()) {
      isModified = true;
      try {
        editor.apply();
      }
      catch (ConfigurationException e) {
        Messages.showErrorDialog(myEditorComponent, e.getMessage(), e.getTitle());
        return;
      }
    }
    updateCache();
    myScheme = scheme;

    initLists();
  }
void changeScheme(@NotNull FileTemplatesScheme scheme)