On delete (property)
For automation interface information about the On Delete property (Owned On Delete Script association through the automation interface), see the automation interface topic for a Script in the Related Topics. When you select the On Delete check box, Modeler creates a Script object for the Stereotype through the Owned On Delete Script association. The Script Type of the Script object is set to OnDelete. The Script object is used to record the On Delete Script that is displayed on the Object Events tab of the Stereotype's Property Pages.
This property specifies that on delete script can be specified for a Stereotype. After selecting the On Delete check box, you can type script in the associated box.
When the Stereotype is applied to an item or diagram, the On Delete script is run whenever that item or diagram is going to be deleted.
By default, the On Delete check box is cleared.
This property is set on the Object Events tab of a Stereotype's Property Pages.
|
You can apply on delete scripts to items and diagrams through Script items whose Script Type is OnDelete.
|
|
To write scripts you require a good working knowledge of the VBScript language, the Modeler Meta Model and the Modeler Automation Interface. If you run a script that has errors, those errors can corrupt Modeler model data and make Modeler crash.
|
The following section provides information about the items and diagrams for which On Delete is a property. For more information about an item or diagram, click it.
Is property of