void (@NotNull AnActionEvent e, boolean state) { Project project = e.getProject(); if (project == null) return; RunDashboardManagerImpl manager = (RunDashboardManagerImpl)RunDashboardManager.getInstance(project); RunDashboardStatusFilter statusFilter = manager.getStatusFilter(); if (state) { statusFilter.show(myStatus); } else { statusFilter.hide(myStatus); } manager.updateDashboard(true); }