void (RadPropertyTable table, AnActionEvent e, Presentation presentation) { Property property = table.getSelectionProperty(); presentation.setEnabled(property != null && !table.isEditing() && (property.getJavadocElement() != null || !StringUtil.isEmpty(property.getJavadocText())) && (e == null || e.getProject() != null)); }