预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

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