Papyrus Banner

Overview

Papyrus provides for validation of tooling models for DSML and other customization plug-ins, including:

Validation is provided as a project builder that is optionally enabled by the user.

Papyrus Plug-in Builder

To enable automatic validation of tooling models in your customization plug-ins, configure the Papyrus Plug-in nature on your customization plug-in projects. In the context menu for your project, select the Configure → Convert to Papyrus Plugin action:

Configure the Papyrus Plug-in project nature

What is checked by the builder depends on settings in the Preferences. By default, the Papyrus Plug-in Builder performs no validation.

Papyrus plug-in builder preferences

There are a number of options available to enable:

Profile Plug-in Validation

This section describes the validation checks performed by the Papyrus Plug-in Builder on UML Profiles.

What is checked?

To validate a profile plug-in, we have some points to check. Here are the checked points:

Where to find the result?

The result is display in the 'Problems' view and are categorized by the type 'Papyrus Toolsmiths Profile Plug-in problems'.

Profile problems

Like others problems, you can double-click on one to open the concerning file. You can delete problem too when you think it is managed.

Element Types Plug-in Validation

This section describes the validation checks performed by the Papyrus Plug-in Builder on Element Types Configurations.

What is checked?

Several validation rules are checked for any plug-in project that contains Element Types Configuration models, including:

There are special element types configuration model elements available for definition of element types on the basis of the stereotypes in UML profiles. These are validated for availability or suitability of the referenced UML profile constructs:

The rules above are not checked in the Element Types Configurations Editor while editing a model because they depend on the deployment of dependent resources in tooling bundles. Therefore, they are only checked by the tooling validation mechanisms described in this documentation. Other intrinsic model well-formedness constraints for element types configurations are checked by the editor; they are described in the documentation of the Element Types Configurations model.

Where to find the result?

The result is displayed in the 'Problems' view and are categorized by the type 'Papyrus Toolsmiths Element Types Plug-in Problem'.

Element types problems

Like others problems, you can double-click on one to open the relevant file. You may delete a problem that you think is resolved, but if it is not, then it will be presented again by the next validation.

Architecture Plug-in Validation

This section describes the validation checks performed by the Papyrus Plug-in Builder on Architecture Models.

What is checked?

Several validation rules are checked for any plug-in project that contains Architecture Context models, including:

The rules above are not checked in the Architecture Model Editor while editing a model because they depend on the deployment of dependent resources in tooling bundles. Therefore, they are only checked by the tooling validation mechanisms described in this documentation. Other intrinsic model well-formedness constraints for architecture contexts are checked by the editor; they are described in the documentation of the Architecture Context model.

Where to find the result?

The result is displayed in the 'Problems' view and are categorized by the type 'Papyrus Toolsmiths Architecture Plug-in Problem'.

Architecture problems

Like others problems, you can double-click on one to open the relevant file. You may delete a problem that you think is resolved, but if it is not, then it will be presented again by the next validation.

Element Creation Menu Plug-in Validation

This section describes the validation checks performed by the Papyrus Plug-in Builder on Element Creation Menus.

What is checked?

Several validation rules are checked for any plug-in project that contains Element Creation Menu models, including:

The rules above are not checked in the Element Creation Menu Model Editor while editing a model because they depend on the deployment of dependent resources in tooling bundles. Therefore, they are only checked by the tooling validation mechanisms described in this documentation. Other intrinsic model well-formedness constraints for element creation menu models are checked by the editor; they are described in the documentation of the Element Creation Menu model.

Where to find the result?

The result is displayed in the 'Problems' view and are categorized by the type 'Papyrus Toolsmiths Element Creation Menu Plug-in Problem'.

Element Creation Menu problems

Like others problems, you can double-click on one to open the relevant file. You may delete a problem that you think is resolved, but if it is not, then it will be presented again by the next validation.

Properties Model Plug-in Validation

This section describes the validation checks performed by the Papyrus Plug-in Builder on Properties models.

What is checked?

Several validation rules are checked for any plug-in project that contains Properties Context and/or Environment models, including:

The rules above are not checked in the Properties Context Editor while editing a model because they depend on the deployment of dependent resources in tooling bundles. Therefore, they are only checked by the tooling validation mechanisms described in this documentation. Other intrinsic model well-formedness constraints for modelign assistants are checked by the editor; they are described in the documentation of the Properties Context model.

Where to find the result?

The result is displayed in the 'Problems' view and are categorized by the type 'Papyrus Toolsmiths Properties Plug-in Problem'.

Properties model problems

Like other problems, you can double-click on one to open the relevant file. You may delete a problem that you think is resolved, but if it is not, then it will be presented again by the next validation.