Customization > Extensibility Through Profiles, Stereotypes, Tag Definitions and Scripts > Overview of extensibility through profiles, stereotypes, tag definitions and scripts > Overview of extensibility through profiles, stereotypes, tag definitions and scripts
  
Overview of extensibility through profiles, stereotypes, tag definitions and scripts
Profiles, Stereotypes and Tag Definitions provide a controlled way of extending the properties and linking capabilities of Modeler.
PTC provides lightweight extensions for creating your own item and link types that are extensions of item and link types provided in a supported PTC profile. For more information, see Overview of lightweight extensions of PTC profiles.
This section of the Help provides detailed information about Profiles, extending model item properties, extending linking capabilities and displaying Stereotype and Tag Definitions on diagrams.
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.
Working with profile diagrams
A Profile Diagram allows you to model Stereotypes and Tag Definitions, including Stereotype inheritance and redefinition of inherited Tag Definitions and Scripts.
Creating panes for profile packages
You can create a pane for browsable Packages, so that you can view the items and diagrams in a model in the context of a profile Package's Stereotypes and Tag Definitions.
Extending model item properties through Stereotype and Tag Definitions
Stereotypes and Tag Definitions provide a controlled way of extending the properties of any item in a model. Tag Definitions allow you to create text, rich text, Boolean and enumeration property types.
Extending linking capabilities through Stereotype and Tag Definitions
Stereotypes and Tag Definitions provide a controlled way of extending the linking capabilities of the items in a model, so that you can permit the linking of item types that cannot be linked through the standard links in Modeler.
Using alternative icons and symbols through iconic Stereotypes
Iconic Stereotypes can apply alternative icons to use in the Modeler panes and Property Pages, and alternative symbols to use on diagrams.
Defining diagram symbol font and colors through stereotypes
Stereotype style properties can redefine a symbols font and colors.
Defining diagram symbol compartments through stereotypes
Stereotype style properties can create compartments that display Stereotype and Tag Definition information for the following diagram items: Classes, Data Types, Interfaces and Signals on Composite Structure Diagrams and Class Diagrams, Parts on Composite Structure Diagrams, Actions on General Flow Diagrams, and Notes on all diagram types when any item is linked to that Note.
Setting up items to appear on any diagram type through stereotypes
Stereotypes can set up an item so that when that item is dragged to a diagram, Modeler creates a Note that linked to the item you dragged.
Displaying Stereotype and Tag Definitions on diagrams
Modeler allows you to optionally display Stereotype and Tag Definition information on a diagram.
In addition to the preceding extensibility, Modeler supports advanced customizations and the development of ergonomic profiles through Script items and Stereotype extensibility features.
* 
If you run a script that has errors, those errors can corrupt model data and make Modeler crash. To write scripts you require a good working knowledge of the VBScript language, the Modeler Meta Model and the Modeler Automation Interface.
Extending context menu commands through stereotypes and scripts
Stereotypes and Scripts can create context menu commands for items and diagrams. The context menu commands run scripts that use the Modeler automation interface. In addition, you can hide creation commands that appear on Add, New and Populate submenus.
Extending diagram toolbars through stereotypes and scripts
Stereotypes and Scripts can replace diagram toolbars with customized toolbars that can include customized toolbar buttons. The customized toolbar buttons can run scripts that use the Modeler automation interface.
Extending delete behavior through stereotypes and scripts
Stereotypes and Scripts can change the behavior of items and diagrams that are going to be deleted. The script can propagate the deletion to other items or prevent the deletion from occurring.
Extending drop behavior through stereotypes and scripts
Stereotypes and Scripts can change the behavior of diagrams that have items dropped on them, and items that have items dropped on them.
Extending double-click behavior through stereotypes and scripts
Stereotypes and Scripts can change the behavior of items when they are double-clicked.
Extending model open and model close behavior through stereotypes and scripts
Stereotypes and Scripts can run scripts when a model is opened or closed in Modeler.
Deriving tagged values through derived tag definitions
Derived Tag Definitions can use model data to derive their tagged values.