void (@NotNull RunnerAndConfigurationSettingsImpl s) { myConfiguration = s.getConfiguration(); for (TaskButton tag : myTags) { remove(tag); } myTags.clear(); List<BeforeRunTask<?>> tasks = s.getManager().getBeforeRunTasks(s.getConfiguration()); for (BeforeRunTask<?> task : tasks) { BeforeRunTaskProvider taskProvider = ContainerUtil.find(getProviders(), provider -> task.getProviderId() == provider.getId()); if (taskProvider == null) { taskProvider = new UnknownBeforeRunTaskProvider(task.getProviderId().toString()); } TaskButton tag = createTag(taskProvider); tag.setTask(task); myTags.add(tag); } buildPanel(); }