MDG_PostMerge

Details

MDG_PostMerge is called after a merge process has been completed.

This function is called by Enterprise Architect after the merge process has been completed.

Note:

File save checking should not be performed with this function, but should be handled by MDG_PreGenerate, MDG_PostGenerate and MDG_PreReverse.

Also look at MDG_PreMerge and MDG_Merge.

Syntax

Function MDG_PostMerge(Repository As EA.Repository, PackageGuid As String) As Long

The MDG_PostMerge 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.

PackageGuid

String

IN

The GUID identifying the Enterprise Architect package sub-tree that is controlled by the Add-In.

Return Value

Return a zero value if the post-merge process has failed, a non-zero return indicates that the post-merge has been successful. Enterprise Architect assumes a non-zero return if this method is not implemented