code: private CmsFavoriteEntry getEntry(Component row) {
  
          if (row instanceof CmsFavInfo) {
  
              return ((CmsFavInfo)row).getEntry();
  
          }
          return null;
  
      }
docs: Gets the favorite entry for a given row.
  
  @param row the widget used to display the favorite
  @return the favorite entry for the widget