This example shows how to use the GeoExt.ux.Measure actions in a toolbar
See measure.js for the source code.