code: void displayResourceInfo(CmsResultItemBean info) {
  
          if (m_hasImage) {
              setImagePreview(info.getPath(), info.getViewLink());
              m_resourceInfoPanel.add(new CmsImageInfo(info, info.getDimension()));
          } else {
              CmsListItemWidget widget = new CmsListItemWidget(info);
              OpenCloseHandler handler = new OpenCloseHandler();
              widget.addCloseHandler(handler);
              widget.addOpenHandler(handler);
              m_resourceInfoPanel.add(widget);
              int width = m_resourceInfoPanel.getOffsetWidth();
              if (width > 0) {
                  widget.truncate("STANDARD", width);
              }
          }
          fireResize();
      }
docs: Displays the resource info.<p>
  
  @param info the resource info