docs: private CmsPublishGroupPanel addGroupPanel(CmsPublishGroup group, int currentIndex) {
  
          String header = group.getName();
          CmsPublishGroupPanel groupPanel = new CmsPublishGroupPanel(
              group,
              header,
              currentIndex,
              this,
              m_model,
              m_selectionControllers,
              getContextMenuHandler(),
              getEditorHandler(),
              m_showProblemsOnly);
          if (m_model.hasSingleGroup()) {
              groupPanel.hideGroupSelectCheckBox();
          }
          m_groupPanels.add(groupPanel);
          m_groupPanelContainer.add(groupPanel);
          return groupPanel;
      }