Pré. | Proc. |
EA_OnPostNewAttribute
EA_OnPostNewAttribute notifies Add-Ins that a new attribute has been created on a diagram. It enables Add-Ins to modify the attribute upon creation.
This event occurs when a user creates a new attribute on an element by either drag-and-dropping from the Browser window, using the 'Attributes' tab of the Features window, or using the in-place editor on the diagram. The notification is provided immediately after the attribute is created.
Syntax
Function EA_OnPostNewAttribute (Repository As EA.Repository, Info As EA.EventProperties) As Boolean
The EA_OnPostNewAttribute function syntax contains these parameters.
Parameter |
Type |
See also |
---|---|---|
Repository |
EA.Repository Direction: IN Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information. |
Repository Class |
Info |
EA.EventProperties Direction: IN Description: Contains this EventProperty object for the new attribute:
|
EventProperties Class |
Return Value
Return True if the attribute has been updated during this notification. Return False otherwise.