void (@NotNull NodeRendererSettings settings) { myRendererChooser.removeAllElements(); final RendererConfiguration rendererConfiguration = settings.getCustomRenderers(); final ArrayList<NodeRenderer> elementsToSelect = new ArrayList<>(1); rendererConfiguration.iterateRenderers(renderer -> { final NodeRenderer clonedRenderer = (NodeRenderer)renderer.clone(); myRendererChooser.addElement(clonedRenderer, clonedRenderer.isEnabled()); if (elementsToSelect.isEmpty()) { elementsToSelect.add(clonedRenderer); } return true; }); myRendererChooser.selectElements(elementsToSelect); updateCurrentRenderer(elementsToSelect); myRendererDataConfigurable.reset(); }