Chapter 4 Extending your Models with Profiles
Templates can be created in the Shared category when they apply to all metaclasses. They can also be created at the metaclass level or for a given stereotype or criterion.
Binding a template to a stereotype
Previously, you would bind the use of a particular template to a stereotype using the template name <<stereotype>> syntax. Now, you create the template beneath the stereotype in the profile.
You can use the Browse tool to find all templates of the same name. To do so, open a template, position the cursor on a template name in-between % characters, and click Browse (or F12). This opens a Result window that displays all templates prefixed by their metaclass name. You can double-click a template in the result window to locate its definition in the resource editor.
To create a template:
Copyright (C) 2008. Sybase Inc. All rights reserved. |