code: @SuppressWarnings("serial")
      private Component createPublishButton() {
  
          Button publishBtn = CmsToolBar.createButton(FontOpenCms.PUBLISH, m_messages.key(Messages.GUI_BUTTON_PUBLISH_0));
          publishBtn.addClickListener(new ClickListener() {
  
              public void buttonClick(ClickEvent event) {
  
                  publishAction();
              }
  
          });
          return publishBtn;
      }
docs: Creates the save button UI Component.
  @return the save button.