Predefined Structured Types

Tagged Values define a wide range of properties and characteristics of a model element, and some of these properties have complex values. For example, you might want your user to select a value between upper and lower limits (using 'Spin' arrows), set a date and time, select a color from a palette, or work through a checklist.

You create these complex Tagged Values from any of a number of predefined Tagged Value types and filters, some of which you might have created yourself (Settings | UML Types > Tagged Value Types).

Tagged Value Type Formats

For each Tagged Value Type, the description includes the syntax for creating the initial values for use of the Tagged Value. The name and format are case-sensitive.

Tagged Value Type

Format

Used to

See also

AddinBroadcast

Type=AddinBroadcast;Values=YourAddinName;

Allow an Add-In to respond to an attempt to edit this Tagged Value by showing a dialog in which the value and notes can be edited.

Boolean

Type=Boolean;Default=Val;

Provide for the input of True or False, either of which can be the default value.

CheckList

Type=CheckList;Values=Val1,Val2,Val3;

Create a checklist of things to be completed or satisfied before an action is approved or performed.

Val1, Val2, Val3 and so on specify the checklist items, each of which is rendered via the Tagged Values window with a checkbox; the tag has the value Incomplete until each checkbox is selected, at which point the value is Complete.

For example:

Type=CheckList;Values=Does the change solve the task\issue given,Does the code have sufficient error handling,Does the code make sense,Does the code comply with the coding conventions;

Whilst the element Tagged Value compartment and the Tagged Value window fields display the values Complete or Incomplete, reports compiled in RTF and HTML will show the list of checklist items and the status of each (True for selected, False for unselected).

Classifier

Type=Classifier;Values=Type1,Type2;Stereotypes=Stereotype1;

Deprecated - use RefGUID and RefGUIDList

Color

Type=Color;Default=Val;

Input a color value from a color chooser menu, where the value is the decimal integer translation of the color's Hex RGB value.

For example, the Hex RGB for Blue is 0000FF and the decimal value is 255, whilst the Hex RGB for Green is 00FF00 and the decimal value is 65280.