Une image contenant texte, signe

Description générée automatiquement

Model Element Editor

 

Including and Excluding Elements (Full Mode Only)

When the Model Element Editor launches, it reads the entire model and so it can present the correct model elements in combo boxes. By default, for performance reasons it automatically excludes profile content from that search (see Selecting Elements in Profiles)

 

You may improve performance and readability of the combo boxes by also declaring white- and blacklists.

 

To declare a white- or blacklist, add <<includeInModelElementEditor>> or <<excludeFromModelElementEditor>> dependencies from the project to the Package(s) and/or Profile(s) you want to include or exclude.

 

A whitelist takes precedence; If there are any <<includeInModelElementEditor >> dependencies then these packages are the only elements considered. If there is no whitelist then the entire model is considered (with / without profile content as mentioned above), except for any package/profile in the blacklist.

 

A white background with black text

Description automatically generated

The Rhapsody Powerpack includes Project in its map so you can use the Model Element Editor to add these dependencies (note that after adding include/excluded elements this way – the selections may not appear in the same UI later as they may be excluded by your choices ! – the dependencies can be modified in the browser in the usual way)

 

A screenshot of a computer

Description automatically generated

 

Note that packages are recursive, that is including a package with an <<includeInModelElementEditor>> will also include all its content recursively. Excluding a package works in the same way.