Réserver une Démo

SVP notez : Cette page d’aide n’est pas pour la dernière version d’Enterprise Architect. La dernière aide peut être trouvée ici.

Pré. Proc.

EA_GenerateFromSchema

Respond to a 'Generate' request from the Schema Composer when using the profile type specified by the EA_IsSchemaExporter event. The SchemaComposer object can be used to traverse the schema. Export formats that have been requested by the user for generation will be listed in the exports parameter.

Syntax

Sub EA_GenerateFromSchema (Repository as EA.Repository, composer as EA.SchemaComposer, exports as String)

Parameter

Details

See also

Repository

Type: EA.Repository

Direction: IN

Description: An EA.Repository object representing the currently open model. Poll its members to retrieve model data and user interface status information.

composer

Type: EA.SchemaComposer

Direction: IN

Description: Provides access to the types defined in the schema currently being generated. Use the SchemaTypes attribute to enumerate through the types and output to the appropriate export format.

SchemaComposer Class

exports

Type: String

Direction: IN

Description: Comma-separated list of export formats that the user has requested in the 'Generate' dialog.

Return Value

None.

Learn more