This sample demonstrates a custom ResizingTool which allows the user to resize many selected objects at once. It is defined in its own file, as ResizeMultipleTool.js.
Usage can also be seen in the Floor Plan Editor sample.