The following is a list of events used in 2.x
This list should be considered as a list of usecases for 3.0's event framework
VistaClaraPlugin
Events Consumed
- JTable, column listener, Column Header Selection
MouseMotionListener, scrollbar adjustment,
event.ActionListener--button and menu actions
Cytoscape
beans.PropertyChangeListener (Cytoscape.SESSION_LOADED) Cytoscape.NETWORK_LOADED - update UI buttons Cytoscape.NETWORK_DESTROYED - update UI buttons Cytoscape.NETWORK_MODIFIED - update UI buttons JTable Model changed - update UI buttons
Addition/removal of CyAttributes (MultiHashMap DataDefinitionListener) Cytoscape.SAVE_PLUGIN_STATE - save VC state with session Cytoscape.SESSION_SAVED - update VC state info Cytoscape.RESTORE_PLUGIN_STATE - read in saved VC info
CytoscapeDesktop.NETWORK_VIEW_FOCUSED - track network for following selection events
CytoscapeDesktop.NETWORK_VIEW_CREATED - track network for following selection events
Events Produced
- Various JTable model changed and structure changed events
ColumnSelection VCTableChangeListener (internal event) - refresh heatstrips
AgilentLiteratureSearch
Events Consumed
LitSearch.SearchFeedbackListener (present feedback during search)
LitSearch.QueryResultsListener - output Cytoscape network
LitSearch.QueryMatchesDisplayer - update match decorations
LitSearch.QueryMatchesDeletionListener - update Cytoscape based on
- user removing query matches.
LitSearch.PauseListener - stop nested searches?
LitSearch.SearchInProgressListener - stop nested searches?
Swing PopupMenus and regular menus
PropertyChangeListener - Close window monitor
CytoscapeAction - the various actions that ALS defined (e.g., GatherEvidence)
CytoscapeDesktop.NETWORK_VIEW_FOCUSED - track network to following selection events
CytoscapeDesktop.NETWORK_VIEW_CREATED - track network to following selection events
GraphViewChangeEvent.EDGES_SELECTED_TYPE - menu item enable/disable
GraphViewChangeEvent.NODES_SELECTED_TYPE - menu item enable/disable
GraphViewChangeEvent.EDGES_UNSELECTED_TYPE - menu item enable/disable
GraphViewChangeEvent.NODES_UNSELECTED_TYPE - menu item enable/disable
ding.view.NodeContextMenuListener - popup menu
ding.view.EdgeContextMenuListener - popup menu
giny.model.GraphPerspectiveChangeListener - propagate Cytoscape
- network changes to the parallel ALFA network, keep
TextSourceInfo objects up-to-date.
Cytoscape.NETWORK_CREATED - monitor GraphPerspective events on networks
Cytoscape.NETWORK_DESTROYED - unmonitor GraphPerspective events on networks
Cytoscape.SESSION_LOADED - add new TextSourceInfo objects
CytoscapeDesktop.NETWORK_VIEW_CREATED - track graph view change events
CytoscapeDesktop.NETWORK_VIEW_DESTROYED - untrack graph view change events
MultiHashMapDefinitionListener - manage TextSourceInfo objects on attributes
Events Produced
- ALSInitListener (internal event) Cytoscape.PREFERENCES_UPDATED
HyperEdge
Events Consumed
Cytoscape.SESSION_LOADED - track changes to HyperEdges
Cytoscape.NETWORK_LOADED - track changes to HyperEdges
Cytoscape.NETWORK_CREATED - track changes to HyperEdges
Cytoscape.NETWORK_DESTROYED - track changes to HyperEdges
Cytoscape.NETWORK_MODIFIED - track changes to HyperEdges
giny.model.GraphPerspectiveChangeListener - update HyperEdges based on Edge/Node changes