axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r367903 - in /webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui: ServiceArchiveWizard.java ServiceXMLFileSelectionPage.java
Date Wed, 11 Jan 2006 03:47:06 GMT
Author: dims
Date: Tue Jan 10 19:47:04 2006
New Revision: 367903

URL: http://svn.apache.org/viewcvs?rev=367903&view=rev
Log:
re-enable the services.xml options

Modified:
    webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java
    webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceXMLFileSelectionPage.java

Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java?rev=367903&r1=367902&r2=367903&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceArchiveWizard.java
Tue Jan 10 19:47:04 2006
@@ -38,7 +38,7 @@
     private ClassFileLocationPage classFileLocationPage;
     private WSDLFileSelectionPage wsdlFileSelectionPage;
     private ServiceXMLFileSelectionPage serviceXMLFileSelectionPage;
-    //private ServiceXMLGenerationPage serviceXMLGenerationPage;
+    private ServiceXMLGenerationPage serviceXMLGenerationPage;
     private ServiceArchiveOutputLocationPage serviceArchiveOutputLocationPage;
     private LibraryAddingPage libPage;
 
@@ -68,9 +68,9 @@
         this.classFileLocation = location;
     }
     
-//    public void updateServiceXMLGeneration(boolean status){
-//        serviceXMLGenerationPage.setPageComplete(status);
-//    }
+    public void updateServiceXMLGeneration(boolean status){
+        serviceXMLGenerationPage.setPageComplete(status);
+    }
     /**
      * 
      */
@@ -108,8 +108,8 @@
         this.addPage(wsdlFileSelectionPage);
         serviceXMLFileSelectionPage = new ServiceXMLFileSelectionPage();
         this.addPage(serviceXMLFileSelectionPage);
-//        serviceXMLGenerationPage = new ServiceXMLGenerationPage();
-//        this.addPage(serviceXMLGenerationPage);
+        serviceXMLGenerationPage = new ServiceXMLGenerationPage();
+        this.addPage(serviceXMLGenerationPage);
         libPage = new LibraryAddingPage();
         this.addPage(libPage);
         serviceArchiveOutputLocationPage = new ServiceArchiveOutputLocationPage();
@@ -143,7 +143,7 @@
                   monitor.worked(1);
                   wizBean.setWsdlBean(wsdlFileSelectionPage.getBean());
                   monitor.worked(1);
-                  wizBean.setPage2bean(serviceXMLFileSelectionPage.getBean());
+                  wizBean.setPage2bean(serviceXMLGenerationPage.getBean(serviceXMLFileSelectionPage.getBean()));
                   monitor.worked(1);
                   wizBean.setLibraryBean(libPage.getBean());
                   monitor.worked(1);

Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceXMLFileSelectionPage.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceXMLFileSelectionPage.java?rev=367903&r1=367902&r2=367903&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceXMLFileSelectionPage.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/service/eclipse/ui/ServiceXMLFileSelectionPage.java
Tue Jan 10 19:47:04 2006
@@ -101,8 +101,8 @@
 		    public void widgetDefaultSelected(SelectionEvent e){}
 		});
 		/////////////////////////////////////////
-		//disable the selection combo for now
-		selectAutoFileGenerationCheckBox.setEnabled(false);
+		//enable the selection combo for now
+		//selectAutoFileGenerationCheckBox.setEnabled(false);
 		selectAutoFileGenerationCheckBox.setToolTipText(ServiceArchiver.getResourceString("page2.autogen.tooltip"));
 		////////////////////////////////////////////
 		
@@ -153,7 +153,7 @@
     
     private void updateGenerationPage(boolean status){
         ServiceArchiveWizard wizard = (ServiceArchiveWizard)this.getWizard();
-        //wizard.updateServiceXMLGeneration(status);
+        wizard.updateServiceXMLGeneration(status);
        
     }
     



Mime
View raw message