An interface for the annotations UI plugin class.
The annotations UI class handles displaying, focusing, activating and hiding annotations views.
AnnotationsUIslistens to changes on that property.
To make this property observable use
this.set( 'activeAnnotation', null )in the constructor.
attach( uiAnnotations )
Creates everything needed for the UI and attaches all listeners. This method is called when the UI is activated.
The observable collection of annotation is passed as the first argument, and the annotations UI is responsible for reacting to its changes.
uiAnnotations : AnnotationCollection
Destroys the UI and removes all listeners. This method is called when the UI is deactivated.
setActiveAnnotation( annotation )