void () { myScopeFilterConfig.reset(); List<MapInfo> mappings = new ArrayList<>(); for (VcsDirectoryMapping mapping : ProjectLevelVcsManager.getInstance(myProject).getDirectoryMappings()) { mappings.add(MapInfo.registered(new VcsDirectoryMapping(mapping.getDirectory(), mapping.getVcs(), mapping.getRootSettings()), isMappingValid(mapping))); } myModel.setItems(mappings); scheduleUnregisteredRootsLoading(); }