void (@NotNull String preferredName, boolean isProjectScheme, @NotNull Consumer<? super String> nameConsumer) { String name = SchemeNameGenerator.getUniqueName(preferredName, schemeName -> getModel().containsScheme(schemeName, isProjectScheme)); mySchemesCombo.startEdit(name, isProjectScheme, nameConsumer); }