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

MDG Add-Ins

Topics

Topic

Detail

See also

Abstract

MDG Add-Ins are specialized types of Add-Ins that have additional features and extra requirements for Add-In authors who want to contribute to Enterprise Architect's goal of Model Driven Generation.

Unlike general Add-In events, MDG Add-In events are only sent to the Add-In that has taken ownership of an Enterprise Architect model branch on a particular workstation.

One of the additional responsibilities of an MDG Add-In is to take ownership of a branch of an Enterprise Architect model, which is done through the MDG_Connect event.

MDG Add-Ins identify themselves as such during EA_Connect by returning the string MDG.

Unlike ordinary Add-Ins, responding to MDG Add-In events is not optional, and methods must be published for each of the MDG Events.

Two examples of MDG Add-Ins are the commercially available MDG Link for Eclipse and MDG Link for Visual Studio, published by Sparx Systems.

 

MDG_Connect

EA_Connect

MDG Events

Sparx Systems (Online Resource)