void (AnActionEvent e, boolean state) { myShowOnlyConflicts = state; myActionsTree.setBaseFilter(myShowOnlyConflicts ? SystemShortcuts.getInstance().createKeymapConflictsActionFilter() : null); myActionsTree.filter(null, myQuickLists); final JTree tree = myActionsTree.getTree(); if (myShowOnlyConflicts) { TreeUtil.expandAll(tree); } else { TreeUtil.collapseAll(tree, 0); } }