Prev | Next |
Shape Editor
When you create a Shape Script through the 'Stereotypes' tab of the 'UML Types' dialog, you write the script using the Shape Editor. This provides the facilities of the Common Code Editor, including Intelli-sense for Shape Script attributes and functions.
Access
Ribbon |
Settings > Reference Data > UML Types > Stereotypes : (select or specify stereotype) : Shape Script + Assign |
Editor Options
Option |
Action |
See also |
---|---|---|
Format |
Click on the drop-down arrow and select the Shape Script version (currently only EAShapeScript 1.0 is available). |
|
Import |
Click on this button to import a Shape Script from a text file (.txt). A file browser displays through which you can locate the file to import. When you have located and selected the file, click on the to import the script into the editing panel. |
|
Export |
Click on this button to export a Shape Script to a text file. A file browser displays through which you can specify the file to export to. When you have identified the file, click on the to complete the export and return to the Shape Editor. |
|
<editing panel> |
Type the script commands in this panel. |
Write Scripts |
OK |
Click on this button to exit from the Shape Editor. To SAVE your Shape Script, click on the on the 'Stereotypes' tab. |
Getting Started With Shape Scripts |
Next Shape |
If you have a shape made up of different components, click on this button to rotate through the multiple shape definitions in the 'Preview' panel. |
|
Refresh |
Click on this button to parse your script and display the result in the Preview window. |
Learn more
- Editing Source Code, for more information on Intelli-sense and the Common Code Editor