code: private void setResourcesVisible(boolean visible) {
  
          m_noResources.setVisible(!visible);
          m_scrollPanel.setVisible(visible);
          m_topBar.getElement().getStyle().setVisibility(visible ? Visibility.VISIBLE : Visibility.HIDDEN);
          m_checkboxSiblings.setVisible(true);
          m_checkboxRelated.setVisible(true);
      }
docs: Shows either the scroll panel or the "no resources" label and hides the other one.<p>
  
  @param visible if true, set the scroll panel to visible, otherwise the "no resources" label