Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2012-03-12 11:05:24 +0000
committerMarkus Tiede2012-03-12 11:05:24 +0000
commitbef861167cf7d10971aaeeb8fc854f36bd46b2b8 (patch)
tree95ce86edb36e0a3adcc89bcbf7b7f8d4ac5d1e32 /org.eclipse.jubula.client.autagent
parent361a58ebd6d99c4d8ae9bbed27f6b27b5c7a5b1f (diff)
downloadorg.eclipse.jubula.core-bef861167cf7d10971aaeeb8fc854f36bd46b2b8.tar.gz
org.eclipse.jubula.core-bef861167cf7d10971aaeeb8fc854f36bd46b2b8.tar.xz
org.eclipse.jubula.core-bef861167cf7d10971aaeeb8fc854f36bd46b2b8.zip
Sprint task - fix for issue 373340.
Diffstat (limited to 'org.eclipse.jubula.client.autagent')
-rw-r--r--org.eclipse.jubula.client.autagent/plugin.xml4
-rw-r--r--org.eclipse.jubula.client.autagent/src/org/eclipse/jubula/client/autagent/handlers/ConnectToEmbeddedAutAgentHandler.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jubula.client.autagent/plugin.xml b/org.eclipse.jubula.client.autagent/plugin.xml
index 067785fff..661808f31 100644
--- a/org.eclipse.jubula.client.autagent/plugin.xml
+++ b/org.eclipse.jubula.client.autagent/plugin.xml
@@ -26,10 +26,6 @@
defaultHandler="org.eclipse.jubula.client.autagent.handlers.ConnectToEmbeddedAutAgentHandler"
id="org.eclipse.jubula.client.autagent.commands.ConnectToEmbeddedAutAgent"
name="%ConnectToEmbeddedAgent">
- <state
- class="org.eclipse.jface.commands.ToggleState"
- id="isAutAgentRunning">
- </state>
</command>
</extension>
<extension
diff --git a/org.eclipse.jubula.client.autagent/src/org/eclipse/jubula/client/autagent/handlers/ConnectToEmbeddedAutAgentHandler.java b/org.eclipse.jubula.client.autagent/src/org/eclipse/jubula/client/autagent/handlers/ConnectToEmbeddedAutAgentHandler.java
index 4a1efbd3f..93d5ac181 100644
--- a/org.eclipse.jubula.client.autagent/src/org/eclipse/jubula/client/autagent/handlers/ConnectToEmbeddedAutAgentHandler.java
+++ b/org.eclipse.jubula.client.autagent/src/org/eclipse/jubula/client/autagent/handlers/ConnectToEmbeddedAutAgentHandler.java
@@ -29,7 +29,9 @@ import org.eclipse.jubula.client.autagent.preferences.PreferenceInitializer;
import org.eclipse.jubula.client.ui.rcp.constants.RCPCommandIDs;
import org.eclipse.jubula.client.ui.rcp.handlers.AUTAgentConnectHandler;
import org.eclipse.jubula.client.ui.utils.CommandHelper;
+import org.eclipse.jubula.tools.constants.StringConstants;
import org.eclipse.jubula.tools.i18n.I18n;
+import org.eclipse.ui.handlers.RadioState;
import org.eclipse.ui.statushandlers.StatusManager;
/**
@@ -87,6 +89,8 @@ public class ConnectToEmbeddedAutAgentHandler extends AbstractHandler
hostname);
parameters.put(AUTAgentConnectHandler.AUT_AGENT_PORT_TO_CONNECT,
String.valueOf(port));
+ parameters.put(RadioState.PARAMETER_ID,
+ hostname + StringConstants.COLON + port);
CommandHelper.executeParameterizedCommand(ParameterizedCommand
.generateCommand(connectToAutAgentCommand, parameters));

Back to the top