docs: public CmsSelectBox createViewSelectorForGalleryDialog() {
  
          List<CmsElementViewInfo> elementViews = m_controller.getData().getElementViews();
          if (elementViews.size() <= 1) {
              return null;
          }
          CmsUUID currentView = m_controller.getElementView().getElementViewId();
          Map<String, String> options = Maps.newHashMap();
          for (CmsElementViewInfo view : elementViews) {
              options.put("" + view.getElementViewId(), view.getTitle());
          }
          CmsSelectBox result = new CmsSelectBox(options);
          result.setFormValueAsString(currentView.toString());
          result.addValueChangeHandler(new ValueChangeHandler<String>() {
  
              public void onValueChange(ValueChangeEvent<String> event) {
  
                  m_editor.getAdd().setActive(false);
                  CmsElementViewInfo newValue = m_controller.getView(event.getValue());
                  setElementView(newValue, new Runnable() {
  
                      public void run() {
  
                          m_editor.getAdd().setActive(true);
                      }
                  });
              }
          });
          result.getElement().getStyle().setWidth(250, Unit.PX);
  
          return result;
      }