This sample demonstrates a custom RotatingTool which allows the user to rotate many selected objects at once. It is defined in its own file, as RotateMultipleTool.js.

Usage can also be seen in the Floor Plan Editor sample.