@Override
    public void restoreState(@NotNull ChangesTree tree, List<Object> state, boolean scrollToSelection) {
      if (state != null) {
        tree.setSelectedChanges(state);
      }
    }
@Override
    public void restoreState(@NotNull ChangesTree tree, List<Object> state, boolean scrollToSelection)