axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r367950 - in /webservices/axis2/trunk/java/modules: tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ tool/ideaplugin/plugin/org/apache/ideaplugin/frames/ webapp/
Date Wed, 11 Jan 2006 06:39:31 GMT
Author: deepal
Date: Tue Jan 10 22:39:16 2006
New Revision: 367950

URL: http://svn.apache.org/viewcvs?rev=367950&view=rev
Log:
-small fixing in jsps
- fixing idea plug-in spelling mistakes

Modified:
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ImagePanel.java
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/OutPutPane.java
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ServiceArchiveCreator.java
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/Axi2PluginPage.java
    webservices/axis2/trunk/java/modules/webapp/listService.jsp

Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ImagePanel.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ImagePanel.java?rev=367950&r1=367949&r2=367950&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ImagePanel.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ImagePanel.java
Tue Jan 10 22:39:16 2006
@@ -93,8 +93,7 @@
     }
 
     public Dimension minimumLayoutSize(Container parent) {
-        Dimension dim = new Dimension(0, 0);
-        return dim;
+        return new Dimension(0, 0);
     }
 
     public void layoutContainer(Container parent) {
@@ -102,23 +101,10 @@
 
         Component c;
         c = parent.getComponent(0);
-        if (c.isVisible()) {c.setBounds(insets.left+368,insets.top+0,168,80);}
+        if (c.isVisible()) {c.setBounds(insets.left+368,insets.top,168,80);}
         c = parent.getComponent(1);
-        if (c.isVisible()) {c.setBounds(insets.left+0,insets.top+0,368,40);}
+        if (c.isVisible()) {c.setBounds(insets.left,insets.top,368,40);}
         c = parent.getComponent(2);
-        if (c.isVisible()) {c.setBounds(insets.left+0,insets.top+40,368,40);}
+        if (c.isVisible()) {c.setBounds(insets.left,insets.top+40,368,40);}
     }
 }
-
-
-//
-//    public ImagePanel() {
-////        apachelogo = new ImageIcon("/icons/asf-feather.gif");
-//        java.net.URL resource = ImagePanel.class.getResource("/icons/asf-feather.png");
-//        apachelogo = new ImageIcon(resource);
-//        JLabel lblWSDL = new JLabel(apachelogo);
-//        add(lblWSDL);
-//        setSize(getPreferredSize());
-//
-//    }
-//}

Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/OutPutPane.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/OutPutPane.java?rev=367950&r1=367949&r2=367950&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/OutPutPane.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/OutPutPane.java
Tue Jan 10 22:39:16 2006
@@ -2,16 +2,8 @@
 
 import org.apache.axis2.tools.bean.CodegenBean;
 
-import javax.swing.JButton;
-import javax.swing.JFileChooser;
-import javax.swing.JLabel;
-import javax.swing.JPanel;
-import javax.swing.JTextField;
-import java.awt.Component;
-import java.awt.Container;
-import java.awt.Dimension;
-import java.awt.Insets;
-import java.awt.LayoutManager;
+import javax.swing.*;
+import java.awt.*;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.io.File;
@@ -39,11 +31,11 @@
  * Date: Jul 22, 2005
  * Time: 12:52:31 PM
  */
-public class OutPutPane extends JPanel implements ActionListener{
+public class OutPutPane extends JPanel implements ActionListener {
     JLabel lbloutput;
     JTextField txtoutput;
     JButton btwBrowse;
-    private CodegenBean cogenbean ;
+    private CodegenBean cogenbean;
     final JFileChooser fc = new JFileChooser();
 
     public OutPutPane(CodegenBean bean) {
@@ -67,7 +59,7 @@
 
     public void actionPerformed(ActionEvent e) {
         Object obj = e.getSource();
-        if(obj == btwBrowse){
+        if (obj == btwBrowse) {
             fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
             int returnVal = fc.showOpenDialog(this);
             if (returnVal == JFileChooser.APPROVE_OPTION) {
@@ -103,8 +95,7 @@
     }
 
     public Dimension minimumLayoutSize(Container parent) {
-        Dimension dim = new Dimension(0, 0);
-        return dim;
+        return new Dimension(0, 0);
     }
 
     public void layoutContainer(Container parent) {
@@ -112,11 +103,17 @@
 
         Component c;
         c = parent.getComponent(0);
-        if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+8,72,24);}
+        if (c.isVisible()) {
+            c.setBounds(insets.left + 8, insets.top + 8, 72, 24);
+        }
         c = parent.getComponent(1);
-        if (c.isVisible()) {c.setBounds(insets.left+88,insets.top+8,354,24);}
+        if (c.isVisible()) {
+            c.setBounds(insets.left + 88, insets.top + 8, 354, 24);
+        }
         c = parent.getComponent(2);
-        if (c.isVisible()) {c.setBounds(insets.left+450,insets.top+8,80,24);}
+        if (c.isVisible()) {
+            c.setBounds(insets.left + 450, insets.top + 8, 80, 24);
+        }
     }
 }
 

Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ServiceArchiveCreator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ServiceArchiveCreator.java?rev=367950&r1=367949&r2=367950&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ServiceArchiveCreator.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/axis2/tools/idea/ServiceArchiveCreator.java
Tue Jan 10 22:39:16 2006
@@ -5,7 +5,7 @@
 import com.intellij.openapi.actionSystem.AnActionEvent;
 import com.intellij.openapi.actionSystem.Presentation;
 
-import javax.swing.ImageIcon;
+import javax.swing.*;
 
 public class ServiceArchiveCreator extends AnAction {
     private ImageIcon myIcon;
@@ -15,28 +15,8 @@
     }
 
     public void actionPerformed(AnActionEvent event) {
-//        Project project = (Project)event.getDataContext().getData(DataConstants.PROJECT);
-//        java.net.URL resource = ServiceArchiveCreator.class.getResource("/icons/garbage.png");
-//        String fileName = resource.toString();
-//        fileName =  fileName.replaceAll("%20"," ");
-//        fileName = fileName.replaceAll("jar:file:/","");
-//        int end_index = fileName.indexOf("!");
-//        fileName = fileName.substring(0,end_index);
-//        ClassLoader contextClasLoader =
-//        URL[] urlsToLoadFrom = new URL[0];
-//        try {
-//            File file = new File(fileName);
-//            urlsToLoadFrom = new URL[]{file.toURL()};
-//            PluginClassLoader clasloader = new PluginClassLoader(
-//                    urlsToLoadFrom,contextClasLoader);
-//            contextClasLoader = clasloader;
-//        } catch (MalformedURLException e) {
-//
-//        }
         Java2CodeFrame win = new Java2CodeFrame();
-    //    win.setClassLoader(contextClasLoader);
         win.showUI();
-//        System.gc();
     }
 
     public void update(AnActionEvent event) {

Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/Axi2PluginPage.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/Axi2PluginPage.java?rev=367950&r1=367949&r2=367950&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/Axi2PluginPage.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/apache/ideaplugin/frames/Axi2PluginPage.java
Tue Jan 10 22:39:16 2006
@@ -95,7 +95,7 @@
                 win.showUI();
             } else {
                 ServiceArciveFrame window = new ServiceArciveFrame();
-                window.setTitle("Service Rchive creation");
+                window.setTitle("Service Archive creation");
                 window.show();
             }
         }

Modified: webservices/axis2/trunk/java/modules/webapp/listService.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/listService.jsp?rev=367950&r1=367949&r2=367950&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/listService.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/listService.jsp Tue Jan 10 22:39:16 2006
@@ -64,7 +64,7 @@
 		boolean modules_present=false;
                  if(engagedModules.size() >0){
            %>
-           <i>Engaged Modules for the axisService</i>
+           <i>Engaged modules for the service</i>
                 <%
                      for (Iterator iteratorm = engagedModules.iterator(); iteratorm.hasNext();)
{
                          ModuleDescription axisOperation = (ModuleDescription) iteratorm.next();



Mime
View raw message