|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
org.embl.ebi.escience.scuflui.actions.OpenWorkflowFromFileAction
public class OpenWorkflowFromFileAction
| Field Summary |
|---|
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
OpenWorkflowFromFileAction(java.awt.Component parentComponent)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
openFromURL(java.net.URLConnection urlConnection)
Open a workflow from the given URL. |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenWorkflowFromFileAction(java.awt.Component parentComponent)
| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
public void openFromURL(java.net.URLConnection urlConnection)
This will happen in a separate thread to avoid hanging the GUI. If the workflow can't be loaded, it will be attempted loaded in offline mode. If the workflow is a local file, WorkflowChanges.syncedWithFile will be set.
url - URL to workflow to load.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||