   initialize : (options) ->
     @dragging2 = false
     @started_dragging = false
-    #debugger;
     super(options)
     @dragging = false
     @started_dragging = false

        @_drag(e.foo, e.foo, e, x, y)
        e.preventDefault()
        e.stopPropagation())

  
    $(document).bind('keydown', (e) =>
      console.log(' keydown event ')
      if e.shiftKey
        @_start_drag2())
          

    $(document).bind('keyup', (e) =>
      console.log('keyup event')
      if not e.shiftKey
        @_stop_drag2())



  bind_events : (plotview) ->
    @plotview = plotview
    @plotview.moveCallbacks.push((e, x, y) =>
      if not @dragging2
        return
      if not @started_dragging
        @_start_drag(e, x, y)
