@Override
      public void historyChanged(final PsiElement selectedElement, final boolean elementExpanded) {
        getCommandHistory().saveState(selectedElement, elementExpanded, false);
      }
@Override
      public void historyChanged(final PsiElement selectedElement, final boolean elementExpanded)