code: private I_CmsListItem makeGalleryTypeItem(final CmsGalleryType galleryType) {
  
          CmsListItem item = new CmsListItem(CmsGalleryTreeItem.createListWidget(galleryType));
          CmsPushButton button = new CmsPushButton();
          button.setImageClass(I_CmsButton.ADD_SMALL);
          button.setButtonStyle(ButtonStyle.FONT_ICON, null);
          button.setTitle(Messages.get().key(Messages.GUI_GALLERIES_CREATE_0));
          button.addClickHandler(new ClickHandler() {
  
              public void onClick(ClickEvent event) {
  
                  closeMenu();
                  CmsCreateGalleryDialog dialog = new CmsCreateGalleryDialog(
                      getController(),
                      galleryType.getTypeId(),
                      null);
                  dialog.center();
              }
          });
          item.getListItemWidget().addButton(button);
          return item;
      }
docs: Creates a gallery type item.<p>
  
  @param galleryType the gallery type
  
  @return the type item