airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r1185478 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gpel/gui/GPELMenu.java
Date Tue, 18 Oct 2011 04:40:41 GMT
Author: chathura
Date: Tue Oct 18 04:40:41 2011
New Revision: 1185478

URL: http://svn.apache.org/viewvc?rev=1185478&view=rev
Log:
Removing weps dependency

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gpel/gui/GPELMenu.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gpel/gui/GPELMenu.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gpel/gui/GPELMenu.java?rev=1185478&r1=1185477&r2=1185478&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gpel/gui/GPELMenu.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gpel/gui/GPELMenu.java
Tue Oct 18 04:40:41 2011
@@ -34,7 +34,6 @@ import org.apache.airavata.xbaya.event.E
 import org.apache.airavata.xbaya.gpel.component.gui.GPELRegistryWindow;
 import org.apache.airavata.xbaya.modifier.gui.WorkflowModifierGUI;
 import org.apache.airavata.xbaya.ode.ODEInvokerWindow;
-import org.apache.airavata.xbaya.ode.gui.ODEDeploymentWindow;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -60,8 +59,6 @@ public class GPELMenu implements EventLi
 
     private JMenuItem subWorkflowItem;
 
-    private JMenuItem odeDeploymentItem;
-
     private JMenuItem odeInvokeItem;
 
     /**
@@ -111,7 +108,6 @@ public class GPELMenu implements EventLi
         this.invokePrecompiledItem = createInvokePrecompiledItem();
         this.invokeModifiedWorkflowItem = createModifyItem();
         this.subWorkflowItem = createSubWorkflowItem();
-        this.odeDeploymentItem = createOdeDeploymentItem();
         this.odeInvokeItem = createOdeInvokeItem();
 
         this.bpelMenu = new JMenu("GPEL");
@@ -130,7 +126,6 @@ public class GPELMenu implements EventLi
         this.bpelMenu.add(this.subWorkflowItem);
 
         this.bpelMenu.addSeparator();
-        this.bpelMenu.add(this.odeDeploymentItem);
         this.bpelMenu.add(this.odeInvokeItem);
 
     }
@@ -162,32 +157,7 @@ public class GPELMenu implements EventLi
         return item;
     }
 
-    /**
-     * @return
-     */
-    private JMenuItem createOdeDeploymentItem() {
-        JMenuItem item = new JMenuItem("Deploy to ODE");
-        item.addActionListener(new AbstractAction() {
-            private ODEDeploymentWindow window;
-
-            /**
-             * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
-             */
-            public void actionPerformed(ActionEvent e) {
-
-                if (this.window == null) {
-                    this.window = new ODEDeploymentWindow(GPELMenu.this.engine);
-                }
-                try {
-                    this.window.show();
-                } catch (Exception e1) {
-                    GPELMenu.this.engine.getErrorWindow().error(e1);
-                }
-
-            }
-        });
-        return item;
-    }
+   
 
     private JMenuItem createConfigurationItem() {
         JMenuItem item = new JMenuItem("Configure GPEL Setting");



Mime
View raw message