Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
EA_OnPostNewDiagramObject
Topics
Topic |
Detail |
See also |
---|---|---|
Details |
EA_OnPostNewDiagramObject notifies Add-Ins that a new object has been created on a diagram. It enables Add-Ins to modify the object upon creation. This event occurs after a user has dragged a new object from the Project Browser or Resources window onto a diagram. The notification is provided immediately after the object is added to the diagram. Set Repository.SuppressEADialogs to true to suppress Enterprise Architect from showing its default dialogs.
|
Syntax:
Function EA_OnPostNewDiagramObject(Repository As EA.Repository, Info As EA.EventProperties) As Boolean
The EA_OnPostNewDiagramObject function syntax contains the following elements:
Parameter |
Type |
Direction |
Description |
||
---|---|---|---|---|---|
Info |
IN |
Contains the following EventProperty objects for the new element:
|
|||
Repository |
IN |
An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.
|
Return Value:
Return True if the element has been updated during this notification. Return False otherwise.