@Override
  public NewLibraryConfiguration createNewLibrary(@NotNull JComponent parentComponent, VirtualFile contextDirectory) {
    VirtualFile initial = findPathToGroovyHome();

    final FileChooserDescriptor descriptor = createFileChooserDescriptor();
    final VirtualFile dir = FileChooser.chooseFile(descriptor, parentComponent, null, initial);
    if (dir == null) {
      return null;
    }
    return createLibraryConfiguration(parentComponent, dir);
  }
@Override
  public NewLibraryConfiguration createNewLibrary(@NotNull JComponent parentComponent, VirtualFile contextDirectory)