In the metamodel,
a code property was added. A more sophisticated approach was to refer to functions
available in a library. This was de?¬?ned in the metamodel as a Function property
similar to the Note object. The Function included a whole Function object with its
own properties, such as name, parameters, code, and documentation properties.
Python codewritten in relationships was used during code generation, and editing it
in generated code was also made possible with protected regions. See later in this
section for details.
Modeling Concepts to Access Phone Services Mobile applications
usually need to access phone services. For this purpose, the modeling language
was extended with additional concepts, including the following:
. SendSMS concept: A given string starting with a keyword, followed by
message elements, is sent to a recipient number. To include variable values in
the string a Message elements property was de?¬?ned in the metamodel to
include any of the Return values saved from dialogs or from the main controls.
Here, the language integrates the use of a Return value as aMessage element. If
the name of a return variable changes in the application design, there is no need
to manually propagate the change elsewhere in the models.Amessage element
could also be a user-de?¬?ned delimiter.
Pages:
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317