code: protected void updateCurrentFolder(Collection<CmsUUID> removeIds) {
  
          m_fileTable.update(removeIds, true);
          CmsObject cms = A_CmsUI.getCmsObject();
          try {
              // current folder may be filtered, so we clear the filters and restore them later
              // to make updates work for filtered out resources
              m_fileTable.saveFilters();
              m_fileTable.clearFilters();
              CmsResource folder = cms.readResource(m_currentFolder, FOLDERS);
              List<CmsResource> childResources = cms.readResources(cms.getSitePath(folder), FILES_N_FOLDERS, false);
              Set<CmsUUID> ids = new HashSet<CmsUUID>();
              for (CmsResource child : childResources) {
                  ids.add(child.getStructureId());
              }
              m_fileTable.update(ids, false);
          } catch (CmsException e) {
              CmsErrorDialog.showErrorDialog(e);
              LOG.error(e.getLocalizedMessage(), e);
          } finally {
              m_fileTable.restoreFilters();
          }
      }
docs: Updates the current folder and removes the given resource items.<p>
  
  @param removeIds the resource item ids to remove