void (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null) return; RunDashboardManager runDashboardManager = RunDashboardManager.getInstance(project); Set<String> types = new HashSet<>(runDashboardManager.getTypes()); Set<ConfigurationType> targetTypes = getTargetTypes(e); for (ConfigurationType type : targetTypes) { types.remove(type.getId()); } runDashboardManager.setTypes(types); }