Source tab of a generic Skeleton

By default, this tab contains the sample structure of a text code with tags that can be parameterized. This sample structure will be used in the Source Codes that will call this Skeleton. You must create your own structure.

Description of the tags

Tags are declared with TAG:, followed by the tag (TAG:BODY for example).

The tag names must be unique in the Skeleton.

The tag hierarchy can be seen on the tag declaration line. The parent tag is followed, after a slash, by the child tag. Several hierarchical levels can be defined.

You can specify variables that will be replaced by the associated values upon generation. These values can be entered at several levels.

The priority order is as follows:
  • A parameter that is indicated in a micropattern call in the source of the calling instance,
  • A variable that is defined as a property in the Definition tab of the calling instance,
  • A variable that is defined as a property in the Definition tab of the Skeleton.

The Skeleton name can be parameterized with $name. Its label can be parameterized with $label.

Insertion of specific code

You can modify the generated code by completing one of the following actions:
  • Insert specific code directly.
  • Call a Micropattern Code to insert code at the end of a tag or at the insertion location. You can then describe a micropattern that will be taken into account upon the next generations. You can parameterize the values of its fields. You add this Micropattern Code from the Snippets view, category RPP SDK Micropattern snippet > Micropattern Code for Source Code.
  • Create micropatterns with the dedicated Java™ API and call them in the generated code.

Feedback