code: public void setPaused(boolean paused, CmsEntity entity) {
  
          if (paused != m_paused) {
              m_paused = paused;
              if (m_paused) {
                  if (m_validationTimer != null) {
                      m_validationTimer.cancel();
                      m_validationTimer = null;
                  }
              } else {
                  m_validationTimer = new ValidationTimer(entity);
                  m_validationTimer.schedule(300);
              }
  
          }
      }
docs: Sets the validation to pause.<p>
  
  @param paused <code>true</code> to pause the validation
  @param entity the entity will be revalidated when setting paused to <code>false</code>