MDG_PostMerge

Return to Introduction  Previous page  Next page

MDG_PostMerge

 

The MDG_PostMerge is called after a merge process has been completed.

 

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

 

Details

 

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 Pre/Post Generate and Reverse.

See Also