code: public void setEntries(Collection<CmsPublishResource> resourceBeans, List<CmsWorkflowAction> actions) {
  
          m_list.clear();
          CmsListItemWidget listItemWidget = null;
          for (CmsPublishResource res : resourceBeans) {
              listItemWidget = addEntry(res);
          }
          if (listItemWidget != null) {
              final CmsListItemWidget lastListItemWidget = listItemWidget;
              Timer timer = new Timer() {
  
                  @Override
                  public void run() {
  
                      CmsDomUtil.resizeAncestor(lastListItemWidget);
                  }
              };
              timer.schedule(10);
          }
          m_actions = actions;
      }
docs: Sets the resources to be displayed.<p>
  
  @param resourceBeans the resource beans to be displayed
  @param actions the available actions