Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape
Class CytoscapeModifiedNetworkManager

java.lang.Object
  extended by 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

Field Summary
static String CLEAN
           
static String MODIFIED
           
 
Constructor Summary
CytoscapeModifiedNetworkManager()
           
 
Method Summary
static boolean isModified(CyNetwork net)
           
 void propertyChange(PropertyChangeEvent e)
           
static void setModified(CyNetwork net, String state)
          set the state of the network
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODIFIED

public static final String MODIFIED
See Also:
Constant Field Values

CLEAN

public static final String CLEAN
See Also:
Constant Field Values
Constructor Detail

CytoscapeModifiedNetworkManager

public CytoscapeModifiedNetworkManager()
Method Detail

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

www.cytoscape.org