code: private CmsGalleryPopup createPopup() {
  
          I_CmsGalleryWidgetHandler handler = new I_CmsGalleryWidgetHandler() {
  
              @Override
              public void setWidgetValue(
                  String resourcePath,
                  CmsUUID structureId,
                  CmsCroppingParamBean croppingParameter) {
  
                  setValueFromGallery(resourcePath, structureId, croppingParameter);
              }
          };
          m_configuration.setCurrentElement(getCurrentElement());
          return new CmsGalleryPopup(handler, m_configuration);
      }
docs: Creates the gallery pop-up.<p>
  
  @return the gallery pop-up