Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkchan2006-07-28 14:35:38 +0000
committerkchan2006-07-28 14:35:38 +0000
commite5d1d237f8bc56689806fb246fe2ac8ee77d69a2 (patch)
tree04f3e0a488602ff2e5053da4340be910b8d6764c
parentfbf71401053bc57594b8e430dbcaae29131151e8 (diff)
downloadwebtools.webservices-e5d1d237f8bc56689806fb246fe2ac8ee77d69a2.tar.gz
webtools.webservices-e5d1d237f8bc56689806fb246fe2ac8ee77d69a2.tar.xz
webtools.webservices-e5d1d237f8bc56689806fb246fe2ac8ee77d69a2.zip
[150560] [151078] Default client to DEPLOY.
-rw-r--r--bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java21
1 files changed, 14 insertions, 7 deletions
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java
index 493a325f8..6d8aef4f8 100644
--- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java
+++ b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/widgets/ClientWizardWidgetDefaultingCommand.java
@@ -12,6 +12,8 @@
* 20060221 119111 rsinha@ca.ibm.com - Rupam Kuehner
* 20060524 142635 gilberta@ca.ibm.com - Gilbert Andrews
* 20060529 141422 kathy@ca.ibm.com - Kathy Chan
+ * 20060728 150560 kathy@ca.ibm.com - Kathy Chan
+ * 20060728 151078 kathy@ca.ibm.com - Kathy Chan
*******************************************************************************/
package org.eclipse.jst.ws.internal.consumption.ui.widgets;
@@ -34,6 +36,7 @@ public class ClientWizardWidgetDefaultingCommand extends AbstractDataModelOperat
private boolean developClient_;
private boolean assembleClient_;
private boolean deployClient_;
+ private boolean installClient_;
private boolean startClient_;
private boolean testClient_;
private boolean clientOnly_ = false;
@@ -59,9 +62,9 @@ public class ClientWizardWidgetDefaultingCommand extends AbstractDataModelOperat
return new Boolean( getScenarioContext().getMonitorWebService());
}
- public Boolean getInstallClient()
+ public boolean getInstallClient()
{
- return new Boolean( getScenarioContext().getInstallClient() );
+ return installClient_;
}
public boolean getRunTestClient()
@@ -71,7 +74,7 @@ public class ClientWizardWidgetDefaultingCommand extends AbstractDataModelOperat
public int getClientGeneration()
{
- return getScenarioContext().getGenerateClient();
+ return clientGeneration_;
}
public ResourceContext getResourceContext()
@@ -120,14 +123,18 @@ public class ClientWizardWidgetDefaultingCommand extends AbstractDataModelOperat
protected void defaultClientScale() {
clientGeneration_ = getScenarioContext().getGenerateClient();
-
- if (clientOnly_) {
+
+ if (clientOnly_ && clientGeneration_ == ScenarioContext.WS_NONE) {
developClient_ = true;
+ assembleClient_ = true;
+ deployClient_ = true;
+ clientGeneration_ = ScenarioContext.WS_DEPLOY;
} else {
developClient_ = clientGeneration_ <= ScenarioContext.WS_DEVELOP;
+ assembleClient_ = clientGeneration_ <= ScenarioContext.WS_ASSEMBLE;
+ deployClient_ = clientGeneration_ <= ScenarioContext.WS_DEPLOY;
}
- assembleClient_ = clientGeneration_ <= ScenarioContext.WS_ASSEMBLE;
- deployClient_ = clientGeneration_ <= ScenarioContext.WS_DEPLOY;
+ installClient_ = clientGeneration_ <= ScenarioContext.WS_INSTALL;
startClient_ = clientGeneration_ <= ScenarioContext.WS_START;
testClient_ = clientGeneration_ <= ScenarioContext.WS_TEST;
}

Back to the top