Package gri.tasks.gui.widgets

Examples of gri.tasks.gui.widgets.InputParameterWidgetFactory


    //run shell:
    TestShell shell = new TestShell();

    gridp.CustomInputWidgetFactory typedInFactory = new gridp.CustomInputWidgetFactory();
    gridp.CustomOutputWidgetFactory typedOutFactory = new gridp.CustomOutputWidgetFactory(viewManager);
    shell.setInputWidgetFactory(new InputParameterWidgetFactory(typedInFactory));
    shell.setOutputWidgetFactory(new OutputParameterWidgetFactory(typedOutFactory));

    shell.runTest(jobManagers);

View Full Code Here


    TestShell shell = new TestShell();

    CustomInputWidgetFactory typedInFactory = new CustomInputWidgetFactory();
    CustomOutputWidgetFactory typedOutFactory = new CustomOutputWidgetFactory(viewManager);
    shell.setInputWidgetFactory(new InputParameterWidgetFactory(typedInFactory));
    shell.setOutputWidgetFactory(new OutputParameterWidgetFactory(typedOutFactory));

    shell.runTest(jobManager);
  }
View Full Code Here

    menuBar.add("File");
    JMenuItem mnuiSaveWorkflow = new JMenuItem("Save Workflow");
    menuBar.add("File", mnuiSaveWorkflow);

    InputFormFactory factory = new InputFormFactory(iconManager, new InputParameterWidgetFactory());
    ShowInputFormAction showInputForm = new ShowInputFormAction(workflowBuilder, factory);

    JMenuItem mnuiUseWorkflow = new JMenuItem(showInputForm);
    mnuiUseWorkflow.setText("Use Workflow");
    menuBar.add("File", mnuiUseWorkflow);
View Full Code Here

    init();
    displayInputTab();
  }
  public TaskExecutionPanel(TaskInfo taskInfo) {
    this(taskInfo, new InputParameterWidgetFactory(), new OutputParameterWidgetFactory());
  }
View Full Code Here

  public MainPanel(JobManagerSet jobManagers) {
    super(new BorderLayout());

    this.jobManagers = jobManagers;
    this.inputWidgetFactory = new InputParameterWidgetFactory();

    init();
  }
View Full Code Here

  ParameterWidgetFactory outputWidgetFactory;

  // ------------------------------------------------ Constructors

  public TestShell() {
    inputWidgetFactory = new InputParameterWidgetFactory();
    outputWidgetFactory = new OutputParameterWidgetFactory();
  }
View Full Code Here

        TaskEntry taskEntry = function.createTaskEntry();
       
        this.task = taskEntry.getTask();
        TaskDef taskDef = task.getTaskDef();
       
        this.pnlTask = new ParameterPanel(taskDef.getInputsArray(), new InputParameterWidgetFactory());
        this.add(pnlTask, BorderLayout.CENTER);
       
        JButton btnSubmit = new JButton("Run");
        btnSubmit.addActionListener(this);
        this.add(btnSubmit, BorderLayout.SOUTH);
View Full Code Here

TOP

Related Classes of gri.tasks.gui.widgets.InputParameterWidgetFactory

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.