docs: public boolean onRefresh()
      {
          Record record = this.getMainRecord();
          if (record == null)
              return false;
  
          try
          {
              if (record.getEditMode() == Constants.EDIT_IN_PROGRESS)
              {   // If they're adding, can't delete nothing!
                  if (record.isRefreshedRecord())
                      return this.onDelete();
                  Object bookmark = record.getHandle(DBConstants.BOOKMARK_HANDLE);
                  record.setHandle(bookmark, DBConstants.BOOKMARK_HANDLE);
              }
              if (record.getEditMode() == Constants.EDIT_ADD)
                  record.addNew();
              this.clearStatusText();
          } catch (DBException ex) {
              this.displayError(ex);
              return false;
          }
          return true;
      }