Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

EA_OnInitializeTechnologies

Topics:

Topic

Detail

See Also

Details

EA_OnInitializeTechnologies requests that an Add-In pass an MDG Technology to Enterprise Architect for loading.

This event occurs on Enterprise Architect startup. Return your technology XML to this function and Enterprise Architect loads and enables it.

 

Syntax

Function EA_OnInitializeTechnologies(Repository As EA.Repository) As Object

The EA_OnInitializeTechnologies function syntax contains the following element:

Parameter

Type

Direction

Description

Repository

EA.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 the MDG Technology as a single XML string.

Example

 

Public Function EA_OnInitializeTechnologies(ByVal Repository As EA.Repository) As Object

 EA_OnInitializeTechnologies = My.Resources.MyTechnology

End Function