code: protected void initHistoryClearObject() {
  
          Object o;
  
          if (CmsStringUtil.isEmpty(getParamAction())) {
              o = new CmsHistoryClear();
          } else {
              // this is not the initial call, get the job object from session
              o = getDialogObject();
          }
  
          if (!(o instanceof CmsHistoryClear)) {
  
              // create a new history settings handler object
              m_historyClear = new CmsHistoryClear();
          } else {
  
              // reuse html import handler object stored in session
              m_historyClear = (CmsHistoryClear)o;
          }
      }
docs: Initializes this widget dialog's object.<p>