Package org.apache.airavata.xbaya.interpretor

Examples of org.apache.airavata.xbaya.interpretor.XBayaExecutionState


             * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
             */
            public void actionPerformed(ActionEvent e1) {
                try {
                    Workflow workflow = engine.getWorkflow();
                    XBayaExecutionState executionState = workflow.getExecutionState();
                    if (executionState == XBayaExecutionState.RUNNING || executionState == XBayaExecutionState.STEP) {
                        workflow.setExecutionState(XBayaExecutionState.PAUSED);
                        play.setIcon(PLAY_ICON);
                    } else if (executionState == XBayaExecutionState.PAUSED) {
                        workflow.setExecutionState(XBayaExecutionState.RUNNING);
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.interpretor.XBayaExecutionState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.