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

EA_OnPreDeleteTechnology

Deprecated - refers to deleting a technology through the Resources window; this process is no longer recommended. See:

Topic

Link

EA_OnInitializeTechnologies

EA_OnInitializeTechnologies

EA_OnPreActivateTechnology

EA_OnPreActivateTechnology

EA_OnPostActivateTechnology

EA_OnPostActivateTechnology

Topics:

Topic

Detail

See Also

Details

EA_OnPreDeleteTechnology notifies Add-Ins that an MDG Technology resource is about to be deleted from the model. This event occurs when a user deletes an MDG Technology resource from the model. The notification is provided immediately after the user confirms their request to delete the MDG Technology, so that the Add-In can disable deletion of the MDG Technology.

Also look at EA_OnDeleteTechnology.

EA_OnDeleteTechnology

Syntax

Function EA_OnPreDeleteTechnology(Repository As EA.Repository, Info As EA.EventProperties) As Boolean

The EA_OnPreDeleteTechnology function syntax contains the following elements:

Parameter

Type

Direction

Description

Info

EA.EventProperties

IN

Contains the following EventProperty objects for the MDG Technology to be deleted:

  • TechnologyID: A string value corresponding to the MDG Technology ID.

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 True to enable deletion of the MDG Technology resource from the model. Return False to disable deletion of the MDG Technology resource.