code: protected void updateProgressBar(CmsUploadProgessInfo info) {
  
          switch (info.getState()) {
              case notStarted:
                  break;
              case running:
                  m_progressInfo.setProgress(info);
                  stopLoadingAnimation();
                  break;
              case finished:
                  m_progressInfo.finish();
                  m_mainPanel.displayDialogInfo(Messages.get().key(Messages.GUI_UPLOAD_INFO_FINISHING_0), false);
                  startLoadingAnimation(Messages.get().key(Messages.GUI_UPLOAD_INFO_CREATING_RESOURCES_0), 1500);
                  break;
              default:
                  break;
          }
      }
docs: Updates the progress bar.<p>
  
  @param info the progress info