You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2011/12/17 06:27:09 UTC
svn commit: r1215424 -
/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/menues/run/RunMenuItem.java
Author: chathura
Date: Sat Dec 17 05:27:08 2011
New Revision: 1215424
URL: http://svn.apache.org/viewvc?rev=1215424&view=rev
Log:
https://issues.apache.org/jira/browse/AIRAVATA-230
Modified:
incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/menues/run/RunMenuItem.java
Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/menues/run/RunMenuItem.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/menues/run/RunMenuItem.java?rev=1215424&r1=1215423&r2=1215424&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/menues/run/RunMenuItem.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/menues/run/RunMenuItem.java Sat Dec 17 05:27:08 2011
@@ -59,8 +59,6 @@ public class RunMenuItem implements Eve
private JMenu runMenu;
private JMenuItem launchDynamicWorkflowItem;
-
-// private JMenuItem runJythonWorkflowItem;
private JMenuItem launchGridChemWorkflowItem;
@@ -115,7 +113,6 @@ public class RunMenuItem implements Eve
*/
private void createWorkflowMenu() {
this.launchDynamicWorkflowItem = createLaunchDynamicWorkflowItem();
-// this.runJythonWorkflowItem = createRunJythonWorkflowItem();
this.launchGridChemWorkflowItem = createLaunchGridChemWorkflowItem();
createLaunchXBayaInterpreterItem();
createLaunchAndSaveGridChemWorkflowItem();
@@ -128,7 +125,6 @@ public class RunMenuItem implements Eve
runMenu.setMnemonic(KeyEvent.VK_R);
runMenu.add(launchDynamicWorkflowItem);
-// runMenu.add(runJythonWorkflowItem);
runMenu.add(launchXBayaInterpreterItem);
runMenu.addSeparator();
@@ -158,13 +154,9 @@ public class RunMenuItem implements Eve
boolean runShouldBeActive = isRunShouldBeActive();
runWorkflowButton.setEnabled(runShouldBeActive);
launchDynamicWorkflowItem.setEnabled(runShouldBeActive);
-// runJythonWorkflowItem.setEnabled(runShouldBeActive);
-// runJythonWorkflowItem.setEnabled(false);
launchXBayaInterpreterItem.setEnabled(runShouldBeActive);
-// launchGridChemWorkflowItem.setEnabled(runShouldBeActive);
launchGridChemWorkflowItem.setEnabled(false);
launchAndSaveInGridChemWorkflowItem.setEnabled(false);
-// launchAndSaveInGridChemWorkflowItem.setEnabled(runShouldBeActive);
}
});
}
@@ -266,7 +258,6 @@ public class RunMenuItem implements Eve
private DynamicWorkflowRunnerWindow window;
public void actionPerformed(ActionEvent event) {
-// lastEvent!=null && lastEvent.getType()!=Event.Type.MONITOR_STOPED
if (engine.getWorkflowInterpreter()!=null){
if (JOptionPane.showConfirmDialog(null, "A previous workflow excution data needs to be cleared before launching another workflow. Do you wish to continue?", "Run Dynamic Workflow", JOptionPane.YES_NO_OPTION)==JOptionPane.YES_OPTION){
cleanup();