Overview of profiles
A profile is a coherent collection of Stereotypes and Tag Definitions that can be applied to a Model. After applying a profile to a model, its Stereotypes and Tag Definitions can be applied to items in that Model.
In Modeler, you model a profile through a Package. You apply a profile Package to another Model by adding the profile Package to that Model.
We recommend that you develop profiles, Stereotypes and Tag Definitions in a separate Model, independent of the Models to which they will apply. When a profile has been set up as required, you can then add it to Models that need to use it.
You may want to use a common prefix for Stereotypes and Tag Definitions that are created for a Profile, so that those Stereotypes and Tag Definitions are unique within a Model they are applied to.
If you intend to develop Stereotypes and Tag Definitions in the Model in which they are required, it is still good practice to create the Stereotypes and Tag Definitions in a profile Package.
Some Modeler Add-ins may create profiles in a Model, for example, the Ada Reverser creates a profile named Ada Profile when reverse engineering code files to a Model.
Modeler allows you to explore the items and diagrams in a model through the context of the Stereotypes and Tag Definitions in a profile Package. When you set up a profile Package as browsable, Modeler creates a pane for that profile Package.
The Profile Diagram allows you to model Stereotypes and Tag Definitions, including Stereotype inheritance and redefinition of inherited Tag Definitions and Scripts.
|
• If you are using Modeler with a configuration management tool (CM tool), we recommend that you store the profile Packages in the CM tool and then use the Package reuse features to add the profile Package to a Model.
• If you are not using a CM tool to store profile Packages, you can add a profile Package to another Model by exporting the profile Package to a directory and then adding the exported Package to the required Model. If changes are then made to a profile Package, you can update the Models that use it by exporting the Package and then importing the Package through the > > context menu..
|
Do not create copies of a PTC profile within a model, or create copies of the PTC profile through XMI Import/Export. The copies of the PTC profile will not work correctly and you will not be able to update the copies through the Update All Profiles command.
|
• You can identify a profile Package by stereotyping it with the «profile» Stereotype that is provided in the UML Profile package.
|
The following profiles are provided with Modeler (Note that the Tell Me More links in this topic work only if the Help file for the profile is installed):
The MARTE Profile is very large and it may take many hours to add this profile to a model.
• Simulink Profile - includes Stereotypes, Tag Definitions and Script items to support Integration for MATLAB Simulink. For more information, see the following topics: