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_AllowPropertyUpdate

This event is sent to workflow Add-Ins after a user has changed a built-in property value.

Syntax

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

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 describing the requested property update:

  • Type: A string value corresponding to Element.Type
  • Stereotype: A string value corresponding to Element.Stereotype
  • Property: The name of the property field to enable or disable
  • OldValue: The previous value of the property
  • NewValue: The new value of the property
EventProperties Class

Return Value

  • Return False to prevent this change to the described property
  • Return True to allow this change

Learn more