code: function(control, callbacks, options) {
          OpenLayers.Util.extend(this, options);
          this.control = control;
          this.callbacks = callbacks;
  
          var map = this.map || control.map;
          if (map) {
              this.setMap(map); 
          }
          
          this.id = OpenLayers.Util.createUniqueID(this.CLASS_NAME + "_");
      }
docs: Constructor: OpenLayers.Handler
  Construct a handler.
  
  Parameters:
  control - {<OpenLayers.Control>} The control that initialized this
  handler.  The control is assumed to have a valid map property; that
  map is used in the handler's own setMap method.  If a map property
  is present in the options argument it will be used instead.
  callbacks - {Object} An object whose properties correspond to abstracted
  events or sequences of browser events.  The values for these
  properties are functions defined by the control that get called by
  the handler.
  options - {Object} An optional object whose properties will be set on
  the handler.