Download SDK for Enterprise Architect
Transcript
Enterprise Architect Add-In Model | Broadcast Events 151 6.5.10 EA_OnPostInitialized Details EA_OnPostInitialized notifies Add-Ins that the Repository object has finished loading and any necessary initialization steps can now be performed on the object. For example, the Add-In can create an Output tab using Repository.CreateOutputTab 201 . Syntax Sub EA_OnPostInitialized(Repository As EA.Repository) The EA_OnPostInitialized function syntax contains the following elements. Parameter Type Repository EA.Repository Direction Description 197 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 None. 6.5.11 EA_OnPostTransform Details EA_OnPostTransform notifies Add-Ins that an MDG transformation has taken place with the output in the specified target package. This event occurs when a user runs an MDG transform on one or more target packages. The notification is provided for each transform/target package immediately after all transform processes have completed. Syntax Function EA_OnPostTransform(Repository As EA.Repository, Info As EA.EventProperties) As Boolean The EA_OnPostTransform function syntax contains the following elements: Parameter Type Direction Description Info EA. EventProperties IN 214 Repository EA.Repository Contains the following EventProperty Objects for the transform performed: · Transform: A string value corresponding to the name of the transform used · PackageID: A long value corresponding to Package. PackageID of the destination package. 197 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 Reserved for future use. © 1998-2010 Sparx Systems Pty Ltd