void (@NotNull String placeId, @NotNull Consumer<? super Step> configure) { TemplatesGroup groupToSelect = ContainerUtil.find(myTemplatesMap.keySet(), group -> group.getId().equals(placeId)); if (groupToSelect != null) { myProjectTypeList.setSelectedValue(groupToSelect, true); try { configure.accept(getCustomStep()); } catch (Throwable exception) { throw new IllegalStateException("Cannot switch on " + placeId + ", current step " + myCurrentCard, exception); } } }