@UiHandler("jobList")
 void onMailSelected(CellSelectedEvent e) {
   if (presenter != null) {
     jobList.setSelectedIndex(e.getIndex(), true);
     presenter.onJobSelected(e.getIndex());
     jobList.setSelectedIndex(e.getIndex(), false);
   }
 }
  public void populate(List<JobModel> modelList) {

    stopLoading();

    jobList.render(modelList);

    if (modelList != null && modelList.size() > 0) {
      noJobMessage.getElement().getStyle().setDisplay(Display.NONE);
    } else {
      noJobMessage.getElement().getStyle().setDisplay(Display.BLOCK);
    }

    scrollPanel.refresh();

    // Check if there is any unread mail, it there is, post rean notification event
    handleNotification();
  }
 @Override
 public void clear() {
   jobList.render(new ArrayList<JobModel>());
   scrollPanel.refresh();
   noJobMessage.getElement().getStyle().setDisplay(Display.NONE);
 }