Examples of XBayaEngine


Examples of edu.indiana.extreme.xbaya.XBayaEngine

      final int val = i;
       new Thread() {
                @Override
                public synchronized void run() {
                  XBaya xBaya = new XBaya(args);
                XBayaEngine engine = xBaya.getEngine();
                engine.getMyProxyClient();
                MyProxyClient myProxyClient = engine.getMyProxyClient();
                myProxyClient.set(XBayaConstants.DEFAULT_MYPROXY_SERVER,
                    XBayaConstants.DEFAULT_MYPROXY_PORT,
                    "chathura",
                    "changeme",
                    XBayaConstants.DEFAULT_MYPROXY_LIFTTIME);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

    XBayaConfiguration config = null;
    config.setMyProxyServer("myproxy.teragrid.org");
    config.setMyProxyUsername("USER");
    config.setMyProxyPassphrase("PASSWORD");

    XBayaEngine xbayaEngine = new XBayaEngine(config);
  }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

        menuItem.setMnemonic(KeyEvent.VK_H);
        menuItem.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
              QName dataType = null;//new QName(WSConstants.XSD_NS_URI, "string");
             
        XBayaEngine engineRef = WorkflowMenu.this.engine;
        String ns = JOptionPane.showInputDialog( null, "Namespace", "http://www.extreme.indiana.edu/lead/xsd");//"Namespace for the type", JOptionPane.QUESTION_MESSAGE);
        String type = JOptionPane.showInputDialog(null , "Local name", "LEADFileIDArrayType");//"Type name", JOptionPane.QUESTION_MESSAGE);
        if(ns == null || "".equals(ns)){
          dataType = new QName(WSConstants.XSD_NS_URI, type);
        }else{
          dataType = new QName(ns, type);
        }
        Workflow[] newWorkflows = new WorkflowHarvester().harvest(engineRef.getWorkflow(), dataType);
        for (Workflow workflow : newWorkflows) {
          GraphCanvas canvas = engineRef.getGUI().newGraphCanvas(true);
          canvas.setWorkflow(workflow);
        }
            }
        });
        return menuItem;
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

     */
    public String getID() {
        if (this.id == null) {
          //No other choice but to prompt
          //the user to pick an id
          final XBayaEngine engine = XBayaEngine.getInstance();
          JOptionPane.showMessageDialog(engine.getGUI().getFrame(), "Provide a relatively unique workflow name", "Workflow Name", JOptionPane.OK_OPTION);
          engine.getWorkflowPropertyWindow().show();         
          this.id = this.name;
      //If its still null
      if(null == this.id){
        throw new XBayaRuntimeException("The workflow ID is null");
      }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

        Workflow workflow = creator.createComplexMathWorkflow();
        WorkflowClient.createScript(workflow);

        Monitor monitor;
        if (this.gui) {
            this.engine = new XBayaEngine(this.configuration);
            this.graphCanvas = this.engine.getGUI().getGraphCanvas();
            this.graphCanvas.setWorkflow(workflow);
            monitor = this.engine.getMonitor();
            this.engine.getGUI().eventReceived(new Event(Type.MONITOR_STARTED));
            repaintAndWait(2);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     *
     */
    public void testShowHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     *
     */
    public void testShowShowHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     *
     */
    public void testShowHideShowHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     */
    public void testShowHideHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
View Full Code Here

Examples of edu.indiana.extreme.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     */
    public void testShowShowHideHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.