|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.embl.ebi.escience.scuflui.WorkflowInputPanelFactory
public class WorkflowInputPanelFactory
Constructor Summary | |
---|---|
WorkflowInputPanelFactory()
|
Method Summary | |
---|---|
static boolean |
checkValidWorkflow(ScuflModel workflow,
java.awt.Component parentComponent)
|
static void |
executeWorkflow(ScuflModel workflow,
java.util.Map<java.lang.String,DataThing> inputs)
Immediately execute workflow. |
UIComponentSPI |
getComponent()
Construct a JComponent from this factory, cast as a UIComponent but must also implement JComponent (if anyone knows how to define this sensibly I'm all ears...) |
javax.swing.ImageIcon |
getIcon()
Get an icon to be used in window decorations for this component. |
java.lang.String |
getName()
Get the preferred name of this component, for titles in windows etc. |
static WorkflowInputPanel |
invokeWorkflow(ScuflModel workflow)
Invoke workflow. |
static WorkflowInputPanel |
invokeWorkflow(ScuflModel workflow,
java.awt.Component parentComponent)
Invoke workflow. |
static WorkflowInputPanel |
invokeWorkflow(ScuflModel workflow,
java.util.Map<java.lang.String,DataThing> inputs)
Invoke workflow. |
static WorkflowInputPanel |
invokeWorkflow(ScuflModel workflow,
java.util.Map<java.lang.String,DataThing> inputs,
java.awt.Component parentComponent)
Invoke workflow. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowInputPanelFactory()
Method Detail |
---|
public java.lang.String getName()
UIComponentFactorySPI
getName
in interface UIComponentFactorySPI
public javax.swing.ImageIcon getIcon()
UIComponentFactorySPI
getIcon
in interface UIComponentFactorySPI
public UIComponentSPI getComponent()
UIComponentFactorySPI
getComponent
in interface UIComponentFactorySPI
public static WorkflowInputPanel invokeWorkflow(ScuflModel workflow)
workflow
- Workflow to run
executeWorkflow(ScuflModel workflow, Map inputs)
public static WorkflowInputPanel invokeWorkflow(ScuflModel workflow, java.util.Map<java.lang.String,DataThing> inputs)
inputs
map.
workflow
- Workflow to runinputs
- Map of input values to populate the input panel with
executeWorkflow(ScuflModel workflow, Map inputs)
public static WorkflowInputPanel invokeWorkflow(ScuflModel workflow, java.awt.Component parentComponent)
inputs
map.
workflow
- Workflow to runparentComponent
- Parent Component
to use for warning pop-ups
executeWorkflow(ScuflModel workflow, Map inputs)
public static WorkflowInputPanel invokeWorkflow(ScuflModel workflow, java.util.Map<java.lang.String,DataThing> inputs, java.awt.Component parentComponent)
inputs
map.
workflow
- Workflow to runinputs
- Map of input values to populate the input panel withparentComponent
- Parent Component
to use for warning pop-ups
executeWorkflow(ScuflModel workflow, Map inputs)
public static boolean checkValidWorkflow(ScuflModel workflow, java.awt.Component parentComponent)
public static void executeWorkflow(ScuflModel workflow, java.util.Map<java.lang.String,DataThing> inputs)
workflow
- Workflow to runinputs
- Map of input values to run the workflow with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |