code: protected void setGalleryTypes(Collection<CmsGalleryType> galleryTypes) {
  
          m_galleriesList.clear();
          for (CmsGalleryType galleryType : galleryTypes) {
              m_galleriesList.addItem(makeGalleryTypeItem(galleryType));
          }
          m_galleriesList.truncate(TM_LITST_MENU, DIALOG_WIDTH);
      }
docs: Sets the available gallery types.<p>
  
  @param galleryTypes the gallery types