docs: public static void showPublishDialog(
          final HashMap<String, String> params,
          final CloseHandler<PopupPanel> handler,
          final Runnable refreshAction,
          final I_CmsContentEditorHandler editorHandler) {
  
          List<String> structureIds = Lists.newArrayList();
          for (CmsEditableDataJSO editableData : CmsDomUtil.getAllEditableDataForPage()) {
              structureIds.add("" + editableData.getStructureId());
          }
  
          List<Element> collectorInfos = CmsDomUtil.getElementsByClass(CmsGwtConstants.CLASS_COLLECTOR_INFO);
          int j = 1;
          for (Element elem : collectorInfos) {
              String infoJson = elem.getAttribute(CmsGwtConstants.ATTR_DATA_COLLECTOR);
              params.put(CmsPublishOptions.PARAM_COLLECTOR_INFO + "." + j, infoJson);
              j += 1;
          }
          String editableIdList = CmsStringUtil.listAsString(structureIds, ",");
          params.put(CmsPublishOptions.PARAM_COLLECTOR_ITEMS, editableIdList);
  
          (new CmsRpcAction<CmsPublishData>() {
  
              /**
               * @see org.opencms.gwt.client.rpc.CmsRpcAction#execute()
               */
              @Override
              public void execute() {
  
                  start(0, true);
                  getService().getInitData(params, this);
              }
  
              /**
               * @see org.opencms.gwt.client.rpc.CmsRpcAction#onResponse(java.lang.Object)
               */
              @Override
              protected void onResponse(CmsPublishData result) {
  
                  stop(false);
                  showPublishDialog(result, handler, refreshAction, editorHandler);
              }
          }).execute();
      }