Book a Demo

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

Prev Next

EA_SampleSearch

This defines the signature required for the function Enterprise Architect calls when executing an Add-In search. The name can be changed to any valid function name in your target programming language.

Syntax

Parameter

Type

See also

Repository

EA.Repository

Direction: IN

Description: An EA.Repository object representing the Enterprise Architect model about to be closed. Poll its members to retrieve model data and user interface status information.

Repository Class

SearchText

String

Direction: IN

Description: Provides the value (if any) entered by the user in the search term field in the model search window.

XMLResults

String

Direction: OUT

Description: Provides the value (if any) entered by the user in the search term field in the model search window.

XML Format (Search Data)

Return Value

The method must return any non-empty value for the results to be displayed.

Learn more