EA_FileOpen

Return to Introduction  Previous page  Next page

EA_FileOpen enables the Add-In to respond to a File Open event. When Enterprise Architect opens a new Model file, this event is raised and passed to all Add-Ins implementing this method.

 

Syntax

 

Sub EA_FileOpen(Repository As EA.Repository)

 

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

 

Return Value

 

None

 

Details

 

This event occurs when the model being viewed by the Enterprise Architect user changes, for whatever reason (through user interaction or Add-In activity).

See Also