Enterprise Architect Add-in Framework Documentation
MDG_PreReverse enables the Add-In to save file changes before being imported into Enterprise Architect. This function operates on a list of files that are about to be reverse-engineered into Enterprise Architect. If the user is working on unsaved versions of these files in an editor, you could either prompt the user or save automatically. Also look at MDG_PostGenerate and MDG_PreGenerate.

Namespace: EAAddinFramework
Assembly: EAAddinFramework (in EAAddinFramework.dll) Version: 1.0.4064.9398

Syntax

C#
public virtual void MDG_PreReverse(
	Repository Repository,
	string PackageGuid,
	Object FilePaths
)
Visual Basic
Public Overridable Sub MDG_PreReverse ( _
	Repository As Repository, _
	PackageGuid As String, _
	FilePaths As Object _
)
Visual C++
public:
virtual void MDG_PreReverse(
	Repository^ Repository, 
	String^ PackageGuid, 
	Object^ FilePaths
)

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.
PackageGuid
Type: System..::..String
The GUID identifying the Enterprise Architect package sub-tree that is controlled by the Add-In.
FilePaths
Type: System..::..Object
A string array of filepaths pointed to the files that are to be reverse engineered.

See Also