void (RadPropertyTable table, Presentation presentation) { try { Property property = table.getSelectionProperty(); presentation.setEnabled(property != null && !table.isEditing() && !table.isDefault(property)); } catch (Exception e) { presentation.setEnabled(false); } }