预订演示
前页 后页

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