code: private Component createUserInfoDropDown() {
  
          PopupView pv = new PopupView(new PopupView.Content() {
  
              private static final long serialVersionUID = 1L;
  
              public String getMinimizedValueAsHTML() {
  
                  CmsObject cms = A_CmsUI.getCmsObject();
                  return getDropDownButtonHtml(
                      new ExternalResource(
                          OpenCms.getWorkplaceAppManager().getUserIconHelper().getSmallIconPath(
                              cms,
                              cms.getRequestContext().getCurrentUser())));
              }
  
              public Component getPopupComponent() {
  
                  return new CmsUserInfo(new I_UploadListener() {
  
                      public void onUploadFinished(List<String> uploadedFiles) {
  
                          handleUpload(uploadedFiles);
                      }
                  }, getDialogContext());
              }
          });
          pv.setDescription(CmsVaadinUtils.getMessageText(Messages.GUI_USER_INFO_TITLE_0));
          pv.addStyleName(OpenCmsTheme.NAVIGATOR_DROPDOWN);
          pv.setHideOnMouseOut(false);
          pv.addStyleName(OpenCmsTheme.USER_INFO);
          return pv;
      }
docs: Creates the user info drop down.<p>
  
  @return the drop down component