code: protected void showGallery(CmsClientSitemapEntry entry) {
  
          CmsGalleryConfiguration configuration = new CmsGalleryConfiguration();
          List<String> typeNames = CmsSitemapView.getInstance().getController().getGalleryType(
              new Integer(entry.getResourceTypeId())).getContentTypeNames();
          configuration.setSearchTypes(typeNames);
          configuration.setResourceTypes(typeNames);
          configuration.setGalleryMode(GalleryMode.adeView);
          configuration.setGalleryStoragePrefix("" + GalleryMode.adeView);
          configuration.setTabConfiguration(CmsGalleryTabConfiguration.resolve("selectDoc"));
          configuration.setReferencePath(getSitePath());
          configuration.setGalleryPath(getSitePath());
          CmsGalleryPopup dialog = new CmsGalleryPopup(null, configuration);
          dialog.center();
      }
docs: Shows the gallery dialog for the given entry.<p>
  
  @param entry the gallery folder entry