@Override
      public void restoreState(@NotNull ChangesTree tree, @NotNull MyState state, boolean scrollToSelection) {
        ChangesBrowserNode<?> newRoot = tree.getRoot();
        state.treeState.applyTo(tree, newRoot);

        initTreeStateIfNeeded((ChangesListView)tree, newRoot, state.oldFileCount);
      }
@Override
      public void restoreState(@NotNull ChangesTree tree, @NotNull MyState state, boolean scrollToSelection)