void (@NotNull RunnerAndConfigurationSettings settings) { clonedTasks.clear(); myRunConfiguration = settings.getConfiguration(); originalTasks.clear(); originalTasks.addAll(RunManagerImplKt.doGetBeforeRunTasks(myRunConfiguration)); myModel.replaceAll(originalTasks); myShowSettingsBeforeRunCheckBox.setSelected(settings.isEditBeforeRun()); myShowSettingsBeforeRunCheckBox.setEnabled(!isUnknown()); myActivateToolWindowBeforeRunCheckBox.setSelected(settings.isActivateToolWindowBeforeRun()); myActivateToolWindowBeforeRunCheckBox.setEnabled(!isUnknown()); myFocusToolWindowBeforeRunCheckBox.setSelected(settings.isFocusToolWindowBeforeRun()); myFocusToolWindowBeforeRunCheckBox.setEnabled(!isUnknown()); myPanel.setVisible(checkBeforeRunTasksAbility(false)); updateText(); }