Prev | Next |
Shape Editor
A Technology Developer can use the Shape Editor to specify custom shapes via a scripting language; that is, to create Shape Scripts. These custom shapes are drawn instead of the standard UML notation. Each script is associated with a particular Stereotype, and is drawn for every element of that stereotype.
Access
Ribbon |
Settings > Reference Data > UML Types > Stereotypes > [select or specify a stereotype] : Shape Script : Assign |
Reference
Option |
Action |
See also |
---|---|---|
Format |
The format in which the script is written. |
|
Import |
Opens a Windows browser dialog, allowing for a script file to be loaded. |
|
Export |
Opens a Windows browser dialog, allowing for a script file to be saved. |
|
Edit window |
The area in which a script can be written. |
Write Scripts |
Preview of main |
A visual representation of the compiled script. Nothing displays until the is clicked. |
|
Next Shape |
If a composite shape is defined within the Edit Window, clicking on the pages through the components of the shape. |
|
Refresh |
Parses your script and produces a visual example of the shape in the Preview of main window. |
|
OK |
Exit from the Shape Editor; don't forget to save your scripts from the 'Stereotype' tab. |
Notes
- Shape Scripts adopt the same color gradient settings as normal elements, as defined in the 'Standard Colors' page of the 'Preferences' dialog
- If an element's appearance is modified by a Shape Script, many of the 'Advanced' context menu options for that element are disabled
- Once you have finishing writing your Shape Script, click on the ; to save the Shape Script you must click on the 'Stereotypes' tab