预订演示
前页 后页

EA_OnPostNewGlossaryTerm

EA_OnPostNewGlossaryTerm notifies Add-Ins that a new glossary term has been created. It enables Add-Ins to modify the glossary term upon creation.

The notification is provided immediately after the glossary term is added to the model.

Syntax

Function EA_OnPostNewGlossaryTerm (Repository As EA.Repository, Info As EA.EventProperties) As Boolean

The EA_OnPostNewGlossaryTerm function syntax contains these parameters.

Parameter

Type

See also

Repository

EA.Repository

Direction: IN

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

Repository Class

Info

EA.EventProperties

Direction: IN

Description: Contains these EventProperty objects for the new glossary term:

  • TermID: A string value corresponding to Term.TermID
  • Term: A string value corresponding to the name of the glossary term being created
  • Meaning: A string value corresponding to meaning of the glossary term being created
EventProperties Class

Return Value

Return True if the glossary term has been updated during this notification. Return False otherwise.

Learn more