void (final GuiEditor editor, final ArrayList<? extends RadComponent> selection, final AnActionEvent e) { PropertyInspectorTable inspector = e.getData(PropertyInspectorTable.DATA_KEY); if (inspector != null) { final Property selectedProperty = inspector.getSelectedProperty(); e.getPresentation().setEnabled(selectedProperty != null && selection.size() > 0 && inspector.isModifiedForSelection(selectedProperty)); } else { e.getPresentation().setEnabled(false); } }