private void updateHistory(boolean elementExpanded) {
    PsiElement element = getNodeElement(getSelectedNode());
    for (CommanderHistoryListener listener : myHistoryListeners) {
      listener.historyChanged(element, elementExpanded);
    }
  }
private void updateHistory(boolean elementExpanded)