Author: Grid.Qian
Date: 2008-05-08 22:49:47 -0400 (Thu, 08 May 2008)
New Revision: 8016
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/plugin.xml
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSConfigWidgetFactory.java
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSProviderInvokeConfigWidgetFactory.java
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWebService.java
Log:
modify for spell error and add support for ws project classpath --jira2047
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.ui/plugin.xml
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.ui/plugin.xml 2008-05-09 02:49:37 UTC
(rev 8015)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.ui/plugin.xml 2008-05-09 02:49:47 UTC
(rev 8016)
@@ -6,7 +6,7 @@
<widgetFactory
class="org.jboss.tools.ws.creation.ui.wsrt.JBossWSConfigWidgetFactory"
id="JBossWSWSDL2JavaConfig"
-
insertBeforeCommandId="org.jboss.tools.ws.creation.core.commands.WSDL2JavaCommnad">
+
insertBeforeCommandId="org.jboss.tools.ws.creation.core.commands.WSDL2JavaCommand">
</widgetFactory>
</extension>
@@ -51,7 +51,7 @@
<widgetFactory
class="org.jboss.tools.ws.creation.ui.wsrt.JBossWSProviderInvokeConfigWidgetFactory"
id="JBossWSProviderInvokeConfig"
-
insertBeforeCommandId="org.jboss.tools.ws.creation.core.commands.WSProviderInvokeCommnad">
+
insertBeforeCommandId="org.jboss.tools.ws.creation.core.commands.WSProviderInvokeCommand">
</widgetFactory>
</extension>
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSConfigWidgetFactory.java
===================================================================
---
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSConfigWidgetFactory.java 2008-05-09
02:49:37 UTC (rev 8015)
+++
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSConfigWidgetFactory.java 2008-05-09
02:49:47 UTC (rev 8016)
@@ -7,7 +7,7 @@
import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataContributor;
-import org.jboss.tools.ws.creation.core.commands.InitialCommnad;
+import org.jboss.tools.ws.creation.core.commands.InitialCommand;
import org.jboss.tools.ws.creation.core.data.ServiceModel;
import org.jboss.tools.ws.creation.ui.widgets.CodeGenConfigWidget;
@@ -36,7 +36,7 @@
// The framework will actually to the call to getWebServiceDataModel in
// the ExampleDefaultingCommand class and then call the setWebServiceDataModel
// method in this class.
- dataRegistry.addMapping( InitialCommnad.class,
+ dataRegistry.addMapping( InitialCommand.class,
"WebServiceDataModel", //$NON-NLS-1$
JBossWSConfigWidgetFactory.class );
}
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSProviderInvokeConfigWidgetFactory.java
===================================================================
---
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSProviderInvokeConfigWidgetFactory.java 2008-05-09
02:49:37 UTC (rev 8015)
+++
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSProviderInvokeConfigWidgetFactory.java 2008-05-09
02:49:47 UTC (rev 8016)
@@ -18,7 +18,7 @@
import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributor;
import org.eclipse.wst.command.internal.env.ui.widgets.WidgetContributorFactory;
import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataContributor;
-import org.jboss.tools.ws.creation.core.commands.InitialCommnad;
+import org.jboss.tools.ws.creation.core.commands.InitialCommand;
import org.jboss.tools.ws.creation.core.data.ServiceModel;
import org.jboss.tools.ws.creation.ui.widgets.CodeGenConfigWidget;
import org.jboss.tools.ws.creation.ui.widgets.ProviderInvokeCodeGenConfigWidget;
@@ -53,7 +53,7 @@
// the ExampleDefaultingCommand class and then call the
// setWebServiceDataModel
// method in this class.
- dataRegistry.addMapping(InitialCommnad.class, "WebServiceDataModel",
//$NON-NLS-1$
+ dataRegistry.addMapping(InitialCommand.class, "WebServiceDataModel",
//$NON-NLS-1$
JBossWSProviderInvokeConfigWidgetFactory.class);
}
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWebService.java
===================================================================
---
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWebService.java 2008-05-09
02:49:37 UTC (rev 8015)
+++
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWebService.java 2008-05-09
02:49:47 UTC (rev 8016)
@@ -12,9 +12,9 @@
import org.eclipse.wst.ws.internal.wsrt.WebServiceInfo;
import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
import org.jboss.tools.ws.core.command.JbossWSRuntimeCommand;
-import org.jboss.tools.ws.creation.core.commands.InitialCommnad;
-import org.jboss.tools.ws.creation.core.commands.WSDL2JavaCommnad;
-import org.jboss.tools.ws.creation.core.commands.WSProviderInvokeCommnad;
+import org.jboss.tools.ws.creation.core.commands.InitialCommand;
+import org.jboss.tools.ws.creation.core.commands.WSDL2JavaCommand;
+import org.jboss.tools.ws.creation.core.commands.WSProviderInvokeCommand;
import org.jboss.tools.ws.creation.core.data.ServiceModel;
public class JBossWebService extends AbstractWebService {
@@ -46,13 +46,13 @@
ServiceModel model = new ServiceModel();
model.setWebProjectName(project);
if (ctx.getScenario().getValue() == WebServiceScenario.TOPDOWN) {
- commands.add(new InitialCommnad(model, this, WebServiceScenario.TOPDOWN));
- commands.add(new WSDL2JavaCommnad(model));
+ commands.add(new InitialCommand(model, this, WebServiceScenario.TOPDOWN));
+ commands.add(new WSDL2JavaCommand(model));
//commands.add(new
JbossWSRuntimeCommand(ResourcesPlugin.getWorkspace().getRoot().getProject(project)));
}
else if (ctx.getScenario().getValue() == WebServiceScenario.BOTTOMUP){
- commands.add(new InitialCommnad(model, this, WebServiceScenario.BOTTOMUP));
- commands.add(new WSProviderInvokeCommnad(model));
+ commands.add(new InitialCommand(model, this, WebServiceScenario.BOTTOMUP));
+ commands.add(new WSProviderInvokeCommand(model));
//commands.add(new
JbossWSRuntimeCommand(ResourcesPlugin.getWorkspace().getRoot().getProject(project)));
}