Prev | Next |
Synchronize Tagged Values and Constraints
When you create an element, attribute, operation or connector from a profiled object, the Tagged Values and constraints are added from the Profile stereotype. Subsequently, you might update the constraints or Tagged Values of a particular stereotype in the Profile, in which case the items already created in the model would not have those additional constraints or Tagged Value tags and notes.
Similarly, you might have manually added the stereotype to a set of objects, which automatically adds the Tagged Values but not the constraints associated with that stereotype, and now want the objects to receive the constraints.
You can apply the updated or missing Tagged Values and constraints using the Synchronize Stereotype function. This operates on any profiled element in your model, from any technology that is integrated with or imported into Enterprise Architect.
Access
Ribbon |
Design > Diagram > Toolbox : to display the 'Find Toolbox Item' dialog and specify <technology name>| Right-click icon for profiled element/connector/feature | Synchronize Stereotype |
Keyboard Shortcuts |
: Specify <technology name> in the 'Find Toolbar Item' dialog | Right-click icon for profiled element/connector/feature | Synchronize Stereotype |
Synchronize objects using the Technology Toolbox pages
Step |
Action |
---|---|
1 |
On the 'Synch Profiled Elements' dialog, click on the . All elements, features or connectors created with the selected profiled object icon are updated, across the model. The items that have been modified, and the changes that were made, are listed in the 'Actions' field. |
2 |
When the update is complete, click on the . |
Alternative - Single Object Update
You can quickly synchronize the tags and constraints of a single element in a diagram. To do this:
Step |
Action |
---|---|
1 |
Drag the updated profiled element from the Diagram Toolbox page onto the element in the diagram. A short context menu displays. |
2 |
Select the 'Apply «stereotype name»' menu option. The diagram element is updated with any tags and constraints from the profiled element that it does not already have. |
Notes