# HG changeset patch # User Ed Swartz # Date 1272385959 18000 # Node ID 9d0235f04d6db9702d76c897baeffe881e0f8f12 # Parent 76455ae5d5fdc1fc2c6efe1ee2f281957bf7d9b5 Use 3.6 launch configuration APIs diff -r 76455ae5d5fd -r 9d0235f04d6d debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/LaunchPlugin.java --- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/LaunchPlugin.java Tue Apr 27 10:18:58 2010 -0500 +++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/LaunchPlugin.java Tue Apr 27 11:32:39 2010 -0500 @@ -250,7 +250,7 @@ boolean openLaunchConfigDialog = false; // get the default config name and make sure it's unique - final String defaultConfigName = getLaunchManager().generateUniqueLaunchConfigurationNameFrom(getDefaultLaunchConfigName(project, executable)); + final String defaultConfigName = getLaunchManager().generateLaunchConfigurationName(getDefaultLaunchConfigName(project, executable)); // try to determine if this is for the emulator or not. also get the list of binaries for the current // build configuration or project. @@ -355,10 +355,9 @@ IStructuredSelection selection = new StructuredSelection(config.doSave()); String identifier; if (mode.equals("run")) //$NON-NLS-1$ - identifier = new String("org.eclipse.debug.ui.launchGroup.run"); //$NON-NLS-1$ + identifier = IDebugUIConstants.ID_RUN_LAUNCH_GROUP; else - identifier = new String("org.eclipse.debug.ui.launchGroup.debug"); //$NON-NLS-1$ - + identifier = IDebugUIConstants.ID_DEBUG_LAUNCH_GROUP; DebugUITools.openLaunchConfigurationDialogOnGroup(CUIPlugin.getActiveWorkbenchShell(), selection, identifier); } else