protected void setSelectedRoots(VirtualFile[] roots) {
    Set<VirtualFile> set = ContainerUtil.newHashSet(roots);
    myList.getSelectionModel().clearSelection();
    for (int i = 0, rowCount = getRowCount(); i < rowCount; i++) {
      Object currObject = getValueAt(i);
      LOG.assertTrue(currObject != null);
      if (set.contains(currObject)) {
        myList.getSelectionModel().addSelectionInterval(i, i);
      }
    }
  }
protected void setSelectedRoots(VirtualFile[] roots)