EA_OnPreDeleteTechnology

Return to Introduction  Previous page  Next page

EA_OnPreDeleteTechnology notifies Add-Ins that an MDG Technology resource is about to be deleted from the model.

 

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

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.

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

 

 

Return Value

 

Return True to enable the deletion of the MDG  Technology resource from the model. Return False to disenable the deletion of the MDG Technology resource.

 

Details

 

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 the deletion of the MDG Technology.

See Also