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 Deploy An MDG Technology for information of recommended methods for using technologies.
See:
Topic |
Link |
---|---|
EA_OnInitializeTechnologies
|
|
EA_OnPreActivateTechnology
|
|
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.
|
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 |
IN |
Contains the following EventProperty objects for the MDG Technology to be deleted:
|
|||
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.