Yes, you can listen to everything that you want to, but you're going to need to listen for several types of events coming from a few different places. To hear changes made to the network you'll want to listen to PropertyChange events from Cytoscape and possibly CytoscapeDesktop. If you're interested in node and edge creation, you'll need to listen to GraphPerspectiveChangeEvents and RootGraphChangeEvents from CyNetwork and the RootGraph. Finally, to hear changes to attributes, you'll need implement MultiHashMapListener. Its ridiculous really, but how 2.6 works. We'll be reworking everything for 3.0 to be *much* easier.
Mike
--
____________________________________________________________
Michael Smoot, Ph.D. Bioengineering Department
tel:
858-822-4756 University of California San Diego