Author: Grid.Qian
Date: 2008-04-25 01:21:33 -0400 (Fri, 25 Apr 2008)
New Revision: 7794
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/widgets/ProviderInvokeCodeGenConfigWidget.java
Log:
change for wsprovide
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/widgets/ProviderInvokeCodeGenConfigWidget.java
===================================================================
---
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/widgets/ProviderInvokeCodeGenConfigWidget.java 2008-04-25
05:21:27 UTC (rev 7793)
+++
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/widgets/ProviderInvokeCodeGenConfigWidget.java 2008-04-25
05:21:33 UTC (rev 7794)
@@ -16,6 +16,7 @@
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
@@ -35,6 +36,7 @@
public ProviderInvokeCodeGenConfigWidget(ServiceModel model){
this.model = model;
+ model.setGenWSDL(true);
}
public WidgetDataEvents addControls( Composite parent, Listener statusListener){
@@ -53,17 +55,24 @@
model.setCustomPackage(txtCustomPkgName.getText());
}});
- Button wsdlGen = new Button(configCom, SWT.CHECK|SWT.NONE);
+ final Button wsdlGen = new Button(configCom, SWT.CHECK|SWT.NONE);
GridData wsdlGenData = new GridData();
wsdlGenData.horizontalSpan = 2;
wsdlGen.setLayoutData(wsdlGenData);
wsdlGen.setText("Generete WSDL file");
- wsdlGen.setSelection(true);
+ wsdlGen.setSelection(true);
+ wsdlGen.addSelectionListener(new SelectionListener(){
-
-
-
-
+ public void widgetDefaultSelected(SelectionEvent e) {
+
+ }
+
+ public void widgetSelected(SelectionEvent e) {
+ model.setGenWSDL(wsdlGen.getSelection());
+
+ }
+
+ });
return this;
}
}
Show replies by date