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