SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 335 | Next

Steven Kelly and Juha-Pekka Tolvanen

"Domain-Specific Modeling"


8.8.1 Extending the Domain
The Python support only exposes a small fraction of the native libraries, focused on
the dialog-based UI.While this is suf?¬?cient for an interesting subset of applications,
it leaves out the richer tabbed views and menus that are used in many even slightly
larger applications. The Python DSM solution also lacks the ability to support
localization and build entirely new ?¬?rst-class applications that are run independently
of other applications (like the Python interpreter).When extending theDSM
solution to generate C++, we decided to extend the domain it covered to include
these concepts of view, menu, and application. The original diagrams would
describewhat happened in a single view, and a new top-level diagramwould specify
the application and its views and menus.
Figure 8.9 shows an example of a top-level diagram based on an S60 SDK sample
application for demonstrating menus. The top row contains a simple Application
object, ConfApp, that speci?¬?es the name and unique ID of the application. The second
row speci?¬?es the three tabbed views of the application, with the initial default view
starred. Each viewcan explode to a diagram specifying the dialogs used in that view, e.
g., here, the ?¬?rst view from the sample has been changed to point to the conference
registration diagram de?¬?ned earlier.


Pages:
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6