void (@NotNull Map<VirtualFile, T> mappings) { myModel.reset(mappings); myModel.nodeChanged((TreeNode)myModel.getRoot()); getTree().setModel(null); getTree().setModel(myModel); TreeUtil.expandRootChildIfOnlyOne(getTree()); }