Naming depends on the UI element, but typically, soft key buttons are
named OK and Cancel. Symbian C++ development (Babin, 2005) sets different
requirements for localization from the Python framework discussed here. In native
C++ development, a typical approach is to add a localization entry as an identi?¬?er or
generate it, if possible, for those concepts that aremapped to localization resources.
During code generation, resource ?¬?les can then be generated and localization data
for different languages can be added.
Describing Choices with the Language Dialogs that provided multiple
choices needed a Choice construct to enter the selection made for the speci?¬?ed
connection. In Fig. 8.3, this situation is illustrated with the selection of the search type.
Choosing to search by name opens a pop-up menu to choose the restaurant type. To be
precise, the Choice property was added to the start role of the relationship to be close
to the dialog element where the choice is made.
In the metamodel, the list items property and choice property used the same
property type so that existing list values could be selected as choices, instead of
writing them manually into the design models again. If no value was given for a ?¬‚ow,
then that ?¬‚ow was the default for all list items without their own ?¬‚ow. This allowed
FIGURE 8.
Pages:
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315