void (@NotNull AnActionEvent e) { final NodeRenderer selectedElement = myRendererChooser.getSelectedElement(); if (selectedElement != null) { myRendererChooser.addElement((NodeRenderer)selectedElement.clone(), true); } }