void (String targetName) { for (SettingsEditor<RunnerAndConfigurationSettings> editor : myEditors) { if (editor instanceof TargetAwareRunConfigurationEditor) { ((TargetAwareRunConfigurationEditor)editor).targetChanged(targetName); } } }