void (@NotNull final AnActionEvent e) { PropertyInspectorTable inspector = e.getData(PropertyInspectorTable.DATA_KEY); e.getPresentation().setEnabled(inspector != null && inspector.getSelectedIntrospectedProperty() != null && inspector.getSelectedRadComponentClassName() != null); }