cytoscape.actions
Class SaveSessionAsAction
java.lang.Object
javax.swing.AbstractAction
cytoscape.util.CytoscapeAction
cytoscape.actions.SaveSessionAsAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, MenuListener
public class SaveSessionAsAction
- extends CytoscapeAction
Same as SaveSessionAction, but always opens file chooser.
- Since:
- 2.3
- Version:
- 1.0
- Author:
- kono
- See Also:
SaveSessionAction
,
CytoscapeSessionWriter
,
Serialized Form
Method Summary |
void |
actionPerformed(ActionEvent e)
If no current session file exists, open dialog box to save new session,
and if it exists, overwrite the file. |
Methods inherited from class cytoscape.util.CytoscapeAction |
actionHelp, clone, completions, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, isAccelerated, isInMenuBar, isInToolBar, menuCanceled, menuDeselected, menuSelected, setAcceleratorCombo, setName, setPreferredButtonGroup, setPreferredIndex, setPreferredMenu, takeArgs |
SESSION_EXT
public static String SESSION_EXT
SaveSessionAsAction
public SaveSessionAsAction(String label)
- Constructor.
- Parameters:
label
- Label for menu item
SaveSessionAsAction
public SaveSessionAsAction()
- Creates a new SaveSessionAsAction object.
actionPerformed
public void actionPerformed(ActionEvent e)
- If no current session file exists, open dialog box to save new session,
and if it exists, overwrite the file.
- Specified by:
actionPerformed
in interface ActionListener
- Specified by:
actionPerformed
in class CytoscapeAction
- Parameters:
e
- DOCUMENT ME!