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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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
Copyright 2010 Cytoscape Consortium. All rights reserved.