void (@NotNull AnActionEvent e, boolean state) { if (!state) return; final List<XValueNodeImpl> selectedNodes = XDebuggerTreeActionBase.getSelectedNodes(e.getDataContext()); for (XValueNodeImpl node : selectedNodes) { PyDebugValue value = (PyDebugValue) node.getValueContainer(); value.getDescriptor().setRenderer(myPyNodeRenderer); if (value.getValue() == null) continue; String lbl = value.getDescriptor().getRenderer() != null ? value.getDescriptor(). getRenderer().render(value.getValue()) : value.getValue(); if (lbl != null) { node.setPresentation(node.getIcon(), value.getType(), lbl, node.getChildCount() != 0); } } }