code: private void fillToolBar(final I_CmsAppUIContext context) {
  
          context.setAppTitle(m_messages.key(Messages.GUI_APP_TITLE_0));
  
          // create components
          Component publishBtn = createPublishButton();
          m_saveBtn = createSaveButton();
          m_saveExitBtn = createSaveExitButton();
          Component closeBtn = createCloseButton();
  
          context.enableDefaultToolbarButtons(false);
          context.addToolbarButtonRight(closeBtn);
          context.addToolbarButton(publishBtn);
          context.addToolbarButton(m_saveExitBtn);
          context.addToolbarButton(m_saveBtn);
  
          Component addDescriptorBtn = createAddDescriptorButton();
          if (m_model.hasDescriptor() || m_model.getBundleType().equals(BundleType.DESCRIPTOR)) {
              addDescriptorBtn.setEnabled(false);
          }
          context.addToolbarButton(addDescriptorBtn);
          if (m_model.getBundleType().equals(BundleType.XML)) {
              Component convertToPropertyBundleBtn = createConvertToPropertyBundleButton();
              context.addToolbarButton(convertToPropertyBundleBtn);
          }
      }
docs: Adds Editor specific UI components to the toolbar.
  @param context The context that provides access to the toolbar.