Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2012-04-19 05:55:10 +0000
committerUwe Stieber2012-04-19 05:55:10 +0000
commitcb5e6b752f693f394164a037052543bf8a6d435b (patch)
tree60859aedbcc489abf0527563a2813655ef9733b3 /target_explorer/plugins/org.eclipse.tcf.te.launch.core
parent1a9d44e7c35bf78e3723b5328584271beba6cd9d (diff)
downloadorg.eclipse.tcf-cb5e6b752f693f394164a037052543bf8a6d435b.tar.gz
org.eclipse.tcf-cb5e6b752f693f394164a037052543bf8a6d435b.tar.xz
org.eclipse.tcf-cb5e6b752f693f394164a037052543bf8a6d435b.zip
Target Explorer: CHANGE launch context selector
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.launch.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/lm/delegates/DefaultLaunchManagerDelegate.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/lm/delegates/DefaultLaunchManagerDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/lm/delegates/DefaultLaunchManagerDelegate.java
index 6728aa7a3..3905a4d54 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/lm/delegates/DefaultLaunchManagerDelegate.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/lm/delegates/DefaultLaunchManagerDelegate.java
@@ -191,6 +191,9 @@ public class DefaultLaunchManagerDelegate extends ExecutableExtension implements
*/
@Override
public String getDefaultLaunchName(ILaunchSpecification launchSpec) {
+ if (launchSpec.getLaunchConfigName() != null) {
+ return launchSpec.getLaunchConfigName();
+ }
return Messages.DefaultLaunchManagerDelegate_defaultLaunchName;
}

Back to the top