AnalyticalGraphicsInc/cesium — pull request #124 by emackey (2012-07-23 18:50:35+00:00)
Title: Convert Cesium Viewer into a Dojo Widget

This pull request aims to make the Cesium Viewer app as small as possible by moving all its functionality into the Cesium Widget, so that Cesium functionality and UI are consistent across applications and demos (including upcoming Sandcastle demos). Some existing demos like LotsOfSatellites have partial copies of Viewer's UI and will need trimming down as a result of this.

This should enable a typical Sandcastle demo to use just a couple lines of code to pull in the widget and draw a primitive on it, and still result in a demo with imagery selection, Columbus View, timeline, etc.

The former "Widgets" folder has been renamed to "Controls" to keep them distinct from Dojo Widgets. I have plans to eventually move a lot of Viewer functionality down into Controls, but this requires making a non-Dojo UI for Viewer which is out of scope for this one pull request. But the foundation for that is being laid here.