Enterprise Architect Add-in Framework Documentation
EA_OnPostActivateTechnology notifies Add-Ins that an MDG Technology resource has been activated in the model. This event occurs when a user activates an MDG Technology resource in the model (by clicking on the Set Active button on the MDG Technologies dialog or by selecting the technology in the list box in the Default Tools toolbar). The notification is provided immediately after the user succeeds in activating the MDG Technology, so that the Add-In can update the Technology if necessary.
Also look at EA_OnPreActivateTechnology.
Namespace: EAAddinFrameworkAssembly: EAAddinFramework (in EAAddinFramework.dll) Version: 1.0.4064.9398
Syntax
C# |
---|
public virtual bool EA_OnPostActivateTechnology(
Repository Repository,
EventProperties Info
) |
Visual Basic |
---|
Public Overridable Function EA_OnPostActivateTechnology ( _
Repository As Repository, _
Info As EventProperties _
) As Boolean |
Visual C++ |
---|
public:
virtual bool EA_OnPostActivateTechnology(
Repository^ Repository,
EventProperties^ Info
) |
Parameters
- Repository
- Type: Repository
An EA.Repository object representing the currently open Enterprise Architect model.
Poll its members to retrieve model data and user interface status information.
- Info
- Type: EventProperties
Contains the following EventProperty object for the MDG Technology to be activated:
- TechnologyID: A string value corresponding to the MDG Technology ID.
Return Value
Return True if the MDG Technology resource is updated during this notification. Return False otherwise.
See Also