code: function(feature, pixel) {
                  var eligible = !control.geometryTypes ||
                      OpenLayers.Util.indexOf(control.geometryTypes,
                          feature.geometry.CLASS_NAME) !== -1;
                  var i = OpenLayers.Util.indexOf(control.handles, feature);
                  i += OpenLayers.Util.indexOf(control.rotationHandles,
                      feature);
                  if(feature !== control.feature && feature !== control.box &&
                                                          i == -2 && eligible) {
                      control.setFeature(feature);
                  }
              }
docs: set a new feature