code: public void displayResourceInfoDirectly(List<CmsResourceInfo> resourceInfos) {
  
          if (m_infoComponent != null) {
              m_mainPanel.removeComponent(m_infoComponent);
              m_infoComponent = null;
          }
          if ((resourceInfos != null) && !resourceInfos.isEmpty()) {
              if (resourceInfos.size() == 1) {
                  m_infoComponent = resourceInfos.get(0);
                  m_mainPanel.addComponent(m_infoComponent, 0);
              } else {
                  m_infoComponent = createResourceListPanelDirectly(
                      Messages.get().getBundle(A_CmsUI.get().getLocale()).key(Messages.GUI_SELECTED_0),
                      resourceInfos);
                  m_mainPanel.addComponent(m_infoComponent, 0);
                  m_mainPanel.setExpandRatio(m_infoComponent, 1);
  
                  // reset expand ratio of the content panel
                  m_contentPanel.setSizeUndefined();
                  m_contentPanel.setWidth("100%");
                  m_mainPanel.setExpandRatio(m_contentPanel, 0);
              }
  
          }
      }
docs: Displays the resource info panel.<p>
  
  @param resourceInfos to display