ComboBox<AbstractVcs> (@NotNull Project project) { AbstractVcs[] allVcses = ProjectLevelVcsManager.getInstance(project).getAllSupportedVcss(); ComboBox<AbstractVcs> comboBox = new ComboBox<>(ArrayUtil.append(allVcses, null)); comboBox.setRenderer(SimpleListCellRenderer.create(VcsBundle.message("none.vcs.presentation"), AbstractVcs::getDisplayName)); return comboBox; }