public class PublishWorkflow extends javax.swing.AbstractAction implements ActionDisplayOptions
DISPLAY_BOTH, DISPLAY_ICON, DISPLAY_NAME
Constructor and Description |
---|
PublishWorkflow()
Instantiates a new publish workflow.
|
PublishWorkflow(int displayOption)
Instantiates a new publish workflow.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent actionEvent) |
static org.shiwa.desktop.data.transfer.WorkflowEngineHandler |
buildHandler(TaskGraph tg)
Builds the handler.
|
static java.io.InputStream |
getImageStream()
Gets the image stream.
|
static void |
publish(org.shiwa.desktop.data.transfer.WorkflowEngineHandler handler,
TrianaInstance engine)
Publish.
|
public PublishWorkflow()
public PublishWorkflow(int displayOption)
displayOption
- the display optionpublic void actionPerformed(java.awt.event.ActionEvent actionEvent)
actionPerformed
in interface java.awt.event.ActionListener
public static org.shiwa.desktop.data.transfer.WorkflowEngineHandler buildHandler(TaskGraph tg)
tg
- the tgpublic static java.io.InputStream getImageStream()
public static void publish(org.shiwa.desktop.data.transfer.WorkflowEngineHandler handler, TrianaInstance engine)
handler
- the handlerengine
- the engine