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