This is the list of events that we came up with during the second mini-retreat.
All events we plan to include as part of the 3.0 API for the layers mentioned should be included here.
(Note that events might be 'pluralized', but that decision has not been made, and minor changes might be made, but there is a general consensus that this is the list of events we will have)
The stand-alone desktop cytosape 3.0 app will, of course have many more types of events. These are just the ones that are part of the core API
Presentation Events
This set is both for Network presentations and CyDataTable presentations:
PresentationCreated, Destroy, AboutToDestroy
ShowObjectOperations (right-click)
OpenRegion (double-click on empty space)
ViewportChanged (include zoom, pan, rotate)
SpinGesture - e.g., two-finger trackpad rotate (how would this work for selections?)
- These are specific to Table presentations:
RowSelected, Column, Cell
- Which of these are handled by the Application and Presentation?
- We could subclass Presentation to support impl-specific methods:
DragObject (create info), ObjectDropped (with info)
- MIME types, Visual Style copying, Columns of etc
View Model Events
(again, for both Networks and CyDataTables)
ViewChanged, Create, Destroyed, AboutToDestroy (network, node or edge views; and also pass which property changed)
SubsetCreated, Changed, Destroyed
VizMap Events
VisualStyleChanged, Created, Destroyed, AboutToDestroy, Switched (e.g., swapping the entire visual style, versus editing a visual style)
Model Events
RemovedEdge, Node
AddedEdge, Node
CyDataTableCreated, Deleted
CreatedNetwork, Subnetwork
AboutToDeleteNetwork, Subnetwork