mbari-org / vars-annotation

Video Annotation Application for MBARI's Media Management (M3) software stack
https://docs.mbari.org/vars-annotation/
Apache License 2.0
16 stars 6 forks source link

Add eventing for CRUD operations #4

Closed hohonuuli closed 6 years ago

hohonuuli commented 7 years ago

CRUD operations are funneled through a command queue. This queue should emit events that tell the UI to update. The operation should go as follows:

  1. Classes that need notification of new/deleted evens should watch the properties in the Data class.
    • Update events will have to observe the EventBus for the relevant change notifications
    • Look into rxjavafx to use instead of JavafX's Observables.
  2. UIEvent is emitted onto UIEventBus
hohonuuli commented 6 years ago

This is resolved.