Introduction
Model Templates are in essence Architecture/Quality Rule models that can be used as a basis for building new models - i.e. they can facilitate the creation of new Architecture Models or new Quality Rule models:
- Some templates are supplied with Console (Product templates)
- Templates can be created manually from existing models or templates (User Defined templates)
Available options
The Templates section is hidden by default. Click the Show Templates button in the Architecture Studio to display it:
When the section is displayed all Templates (product and user-defined) are displayed:
Click to enlarge
Available options:
Use this to search for a specific template. Search will be performed on the title of the template. | |||||||||||||||||
Use this button to upload a model created with the end-user application CAST Architecture Checker (i.e. a .castarchitect or .castrule file). Note that the Metric ID assigned to the model in the template must be set to 0 otherwise an error will be displayed when you attempt to upload the file: | |||||||||||||||||
Use this button to display all Templates instead of using the default scroll mechanism: Default display Four templates will be displayed in two columns - scroll buttons allow you to scroll through the available templates: Click to enlarge View All All templates are displayed in a two column list: Click to enlarge | |||||||||||||||||
|
Create a User-Defined template from a Model
View an existing Model, or create a new one, then use the Save Template button in the Model editor. Then choose Template:
The Model will be saved as a user-defined template. You will be prompted to name the template:
Create a Model from a template
Use this button to create a new Model using the selected Template and then using the Model editor:
Choose the Name for the new model, then click OK to start the editing process - see Model editor for more information: