code: private void init(Set<CmsResource> resources, List<CmsUser> user) {
  
          addStyleName("o-no-padding");
          m_container = new IndexedContainer();
          m_container.addContainerProperty(PROP_ELEMENT, CmsResourceInfo.class, null);
  
          for (CmsResource res : resources) {
              Item item = m_container.addItem(res);
              if (item != null) { //Item is null if resource is dependency of multiple groups/user to delete
                  item.getItemProperty(PROP_ELEMENT).setValue(new CmsResourceInfo(res));
              }
          }
          if (user != null) {
              for (CmsUser us : user) {
                  Item item = m_container.addItem(us);
                  if (item != null) { //Item is null if User is dependency of multiple groups to delete
                      item.getItemProperty(PROP_ELEMENT).setValue(
                          new CmsResourceInfo(
                              us.getSimpleName(),
                              us.getDescription(),
                              new CmsCssIcon(OpenCmsTheme.ICON_USER)));
                  }
              }
          }
          setColumnHeaderMode(ColumnHeaderMode.HIDDEN);
          setContainerDataSource(m_container);
          setVisibleColumns(PROP_ELEMENT);
  
      }
docs: Initializes the table.<p>
  
  @param resources List of resources
  @param user List user