cytoscape.actions
Class SaveSessionAction
java.lang.Object
javax.swing.AbstractAction
cytoscape.util.CytoscapeAction
cytoscape.actions.SaveSessionAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, MenuListener
public class SaveSessionAction
- extends CytoscapeAction
Save Session action.
Write current states into a CYS file.
- Since:
- Cytoscape 2.3
- Version:
- 1.0
- Author:
- kono
- See Also:
CytoscapeSessionWriter
,
Serialized Form
Method Summary |
void |
actionPerformed(ActionEvent e)
If no current session file exists, open dialog box to ask user a new
session file name, otherwise, 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 final String SESSION_EXT
- See Also:
- Constant Field Values
SaveSessionAction
public SaveSessionAction(String label)
- Constructor.
- Parameters:
label
- Label for the menu item.
SaveSessionAction
public SaveSessionAction()
- Constructor.
This is mainly for the toolbar icon button.
actionPerformed
public void actionPerformed(ActionEvent e)
- If no current session file exists, open dialog box to ask user a new
session file name, otherwise, overwrite the file.
- Specified by:
actionPerformed
in interface ActionListener
- Specified by:
actionPerformed
in class CytoscapeAction
- Parameters:
e
- DOCUMENT ME!