@Override public void launchConfigurationAdded(ILaunchConfiguration configuration) { ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager(); if (selectedConfig != null && selectedConfig.equals(manager.getMovedFrom(configuration))) { // this config was re-named, update the dialog with the new config selectedConfig = configuration; selectLaunchConfiguration(selectedConfig.getName()); } refreshLaunchesViewer(); }