           @_selecting(e, x, y)
           e.preventDefault()
           e.stopPropagation())
-    select_button = $('<button> Selction Tool </button>')
-    @plotview.$el.find('.button_bar').append(select_button)
-    select_button.click(=>
-      if @button_selecting
-        @stop_drag()
-      else
-        @_start_selecting("foo", 0, 0)
-        @button_selecting = true)
 
 
   mouse_coords : (e, x, y) ->

    @render_end()
    return null

class SelectionToolView extends SelectionToolView_
  """this version only works via the toolbar button   """
  initialize : (options) ->
    super(options)
    @selecting = false
    @select_button_clicked = false
    

  bind_events : (plotview) ->
    console.log("SelectionToolView bind_events")


#  tools

class PanToolView_ extends PlotWidget
  initialize : (options) ->
    @dragging = false
    super(options)
