+ @update_helper_buttons()
+ update_helper_buttons: ->
+ if selection?.drawing? and selection?.data.length > 0
+ @cancel_button.removeClass 'disabled'
+ else
+ @cancel_button.addClass 'disabled'
+ if selection?.drawing? and selection?.data.length > 1
+ @stop_button.removeClass 'disabled'
+ else
+ @stop_button.addClass 'disabled'
+ if selection?.drawing? and selection?.data.length > 2
+ @stop_close_button.removeClass 'disabled'
+ else
+ @stop_close_button.addClass 'disabled'