Diagram toolbar command (property)
For automation interface information about the Diagram Toolbar Command property (Command Id through the automation interface), see the automation interface topic for a Script in the Related Topics. For a Stereotype, this property is stored in a Script object that is associated with the Stereotype object through the Owned Toolbar Script association.
This property specifies a diagram button on which the new diagram button is based.
The Diagram Toolbar Command you select must be applicable to the diagram type you apply it to. For example, only the Diagram Toolbar Commands preceded by 'Class Dgm' are valid for a Class Diagram.
By default, the Diagram Toolbar Command property is blank.
For a Script, this property is called Command and is set on the Settings tab of a Script's Property Pages. For a Script, this property is available only when the Script Type is set to ToolbarCommand.
For a Stereotype, this property is called Diagram Toolbar Command and is set on the Toolbar tab of a Stereotype's Property Pages.
|
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 Diagram Toolbar Command is a property. For more information about an item or diagram, click it.
Is property of