void (String chosenTarget) { myDefaultTargetName = chosenTarget; if (myEditor instanceof TargetAwareRunConfigurationEditor) { ((TargetAwareRunConfigurationEditor)myEditor).targetChanged(chosenTarget); } }