code: protected void openPublishDailog(CmsProject project, List<CmsResource> directPublishResources) {
  
          CmsPublishData publishData = getPublishData(project, directPublishResources);
          String data = getSerializedPublishData(publishData);
          getRpcProxy(I_CmsGwtDialogClientRpc.class).openPublishDialog(data);
      }
docs: Opens the publish dialog for the given project.<p>
  
  @param project the project for which to open the dialog
  @param directPublishResources the resources for which to open the publish dialog.