void (@NotNull AnActionEvent e, boolean state) { TodoPanel todoPanel = e.getData(TODO_PANEL_DATA_KEY); if (todoPanel != null) { todoPanel.mySettings.areModulesShown = state; todoPanel.myTodoTreeBuilder.setShowModules(state); } }