cytoscape
Class CytoscapeModifiedNetworkManager
java.lang.Object
cytoscape.CytoscapeModifiedNetworkManager
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class CytoscapeModifiedNetworkManager
- extends Object
- implements PropertyChangeListener
CytoscapeModifiedNetworkManager manages the modified state settings for the networks and listens for
PropertyChangeEvents. This enables functionality such as prompting the user to save modified
networks when exiting Cytoscape.
- Version:
- 1.0
- Author:
- Allan Kuchinsky
MODIFIED
public static final String MODIFIED
- See Also:
- Constant Field Values
CLEAN
public static final String CLEAN
- See Also:
- Constant Field Values
CytoscapeModifiedNetworkManager
public CytoscapeModifiedNetworkManager()
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange
in interface PropertyChangeListener
isModified
public static boolean isModified(CyNetwork net)
- Parameters:
net
-
- Returns:
setModified
public static void setModified(CyNetwork net,
String state)
- set the state of the network
- Parameters:
net
- state
- values supported in this version: CLEAN, MODIFIED