LibraryDownloadSettings (@NotNull JComponent parent, @NotNull LibraryDownloadSettings settings, List<? extends FrameworkLibraryVersion> versions, boolean showNameAndLevel) { final DownloadingOptionsDialog dialog = new DownloadingOptionsDialog(parent, settings, versions, showNameAndLevel); if (!dialog.showAndGet()) { return null; } return dialog.createSettings(); }