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

EA_FileNew

Details

The EA_FileNew event enables the Add-In to respond to a File New event. When Enterprise Architect creates a new model file, this event is raised and passed to all Add-Ins implementing this method.

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

Also look at EA_FileClose and EA_FileOpen.

Syntax

Sub EA_FileNew(Repository As EA.Repository)

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