Enterprise Architect Add-in Framework Documentation
This event occurs when Enterprise Architect is instructed to redraw an element. It requests that the Add-In provide the data to populate the element's compartment.

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

Syntax

C#
public virtual Object EA_GetCompartmentData(
	Repository Repository,
	string sCompartment,
	string sGUID,
	ObjectType oType
)
Visual Basic
Public Overridable Function EA_GetCompartmentData ( _
	Repository As Repository, _
	sCompartment As String, _
	sGUID As String, _
	oType As ObjectType _
) As Object
Visual C++
public:
virtual Object^ EA_GetCompartmentData(
	Repository^ Repository, 
	String^ sCompartment, 
	String^ sGUID, 
	ObjectType oType
)

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.
sCompartment
Type: System..::..String
The name of the compartment for which data is being requested.
sGUID
Type: System..::..String
The GUID of the element for which data is being requested.
oType
Type: ObjectType
The type of the element for which data is being requested.

Return Value

Variant containing a formatted string. See the example in the EA Help file to understand the format.

See Also