code: void onSubFolderChange(Boolean value) {
  
          List<I_CmsHistoryResource> historyResources;
          try {
              CmsObject cms = m_dialogContext.getCms();
              historyResources = cms.readDeletedResources(cms.getSitePath(m_resource), value.booleanValue());
              initDeletedResources(cms, historyResources);
          } catch (CmsException e) {
              m_dialogContext.error(e);
          }
      }
docs: Called on include sub folders change.<p>
  
  @param value the new value