code: function(layer, options) {
          OpenLayers.Control.Panel.prototype.initialize.apply(this, [options]);
          
          this.addControls(
            [ new OpenLayers.Control.Navigation() ]
          );  
          var controls = [
              new OpenLayers.Control.DrawFeature(layer, OpenLayers.Handler.Point, {
                  displayClass: 'olControlDrawFeaturePoint',
                  handlerOptions: {citeCompliant: this.citeCompliant}
              }),
              new OpenLayers.Control.DrawFeature(layer, OpenLayers.Handler.Path, {
                  displayClass: 'olControlDrawFeaturePath',
                  handlerOptions: {citeCompliant: this.citeCompliant}
              }),
              new OpenLayers.Control.DrawFeature(layer, OpenLayers.Handler.Polygon, {
                  displayClass: 'olControlDrawFeaturePolygon',
                  handlerOptions: {citeCompliant: this.citeCompliant}
              })
          ];
          this.addControls(controls);
      }
docs: Constructor: OpenLayers.Control.EditingToolbar
  Create an editing toolbar for a given layer.
  
  Parameters:
  layer - {<OpenLayers.Layer.Vector>}
  options - {Object}