Prev Next

EA_OnPreDeleteTechnology

Deprecated - refers to deleting a technology through the Resources window; this process is no longer recommended. See Deploy An MDG Technology for information on recommended methods for using technologies.

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.

Related Broadcast Events

Event

See also

EA_OnInitializeTechnologies

EA_OnInitializeTechnologies

EA_OnPreActivateTechnology

EA_OnPreActivateTechnology

EA_OnPostActivateTechnology

EA_OnPostActivateTechnology

Syntax

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

The EA_OnPreDeleteTechnology function syntax contains these elements:

Parameter

Type

See also

Info

EA.EventProperties

Direction: IN

Description: Contains this EventProperty object for the MDG Technology to be deleted:

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

Repository

EA.Repository

Direction: IN

Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.

Repository Class

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.

Learn more