From 536d403344246d60efa9823cf79b692dbe083345 Mon Sep 17 00:00:00 2001 From: Tobias Schwarz Date: Mon, 30 Jul 2012 13:53:25 +0200 Subject: Target Explorer: add launch attribute for context attach steps --- .../eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui') diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java index 1541960d8..95d457cbe 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.ui/src/org/eclipse/tcf/te/tcf/launch/ui/internal/services/DebugService.java @@ -68,6 +68,9 @@ public class DebugService extends AbstractService implements IDebugService { if (delegate != null) { // create an empty launch configuration specification to initialize all attributes with their default defaults. ILaunchSpecification launchSpec = delegate.getLaunchSpecification(launchConfigType.getIdentifier(), launchSelection); + for (String key : data.getProperties().keySet()) { + launchSpec.addAttribute(key, data.getProperty(key)); + } delegate.validate(launchSpec); if (launchSpec != null && launchSpec.isValid()) { ILaunchConfiguration[] launchConfigs = DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurations(launchConfigType); -- cgit v1.2.3