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