mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Replace hard-code launch types with their constants.
Change-Id: I05f25d4429c110c07a000328cfc64646a17a059b Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
bb5d400d4f
commit
13b0270d5c
3 changed files with 3 additions and 6 deletions
|
@ -208,8 +208,7 @@ public class DebugAttachedExecutable {
|
|||
}
|
||||
|
||||
protected static ILaunchConfigurationType getLaunchConfigType() {
|
||||
return getLaunchManager().getLaunchConfigurationType(
|
||||
"org.eclipse.cdt.launch.attachLaunchType"); //$NON-NLS-1$
|
||||
return getLaunchManager().getLaunchConfigurationType(ICDTLaunchConfigurationConstants.ID_LAUNCH_C_ATTACH);
|
||||
}
|
||||
|
||||
protected static ILaunchConfiguration createConfiguration(boolean save) {
|
||||
|
|
|
@ -49,8 +49,7 @@ public class DebugCoreFile {
|
|||
}
|
||||
|
||||
protected static ILaunchConfigurationType getLaunchConfigType() {
|
||||
return getLaunchManager().getLaunchConfigurationType(
|
||||
"org.eclipse.cdt.launch.postmortemLaunchType"); //$NON-NLS-1$
|
||||
return getLaunchManager().getLaunchConfigurationType(ICDTLaunchConfigurationConstants.ID_LAUNCH_C_POST_MORTEM);
|
||||
}
|
||||
|
||||
protected static ILaunchConfiguration createConfiguration(String corePath, String exePath, boolean save) {
|
||||
|
|
|
@ -274,8 +274,7 @@ public class DebugExecutable {
|
|||
}
|
||||
|
||||
protected static ILaunchConfigurationType getLaunchConfigType() {
|
||||
return getLaunchManager().getLaunchConfigurationType(
|
||||
"org.eclipse.cdt.launch.applicationLaunchType"); //$NON-NLS-1$
|
||||
return getLaunchManager().getLaunchConfigurationType(ICDTLaunchConfigurationConstants.ID_LAUNCH_C_APP);
|
||||
}
|
||||
|
||||
protected static ILaunchConfiguration createConfiguration(String bin,
|
||||
|
|
Loading…
Add table
Reference in a new issue