预订演示
前页 后页

EA_CanEditProperty

This event is sent to Workflow Add-Ins when a property is being displayed that allows the property to block all edits.

Syntax

Function EA_CanEditProperty (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 property:

  • Type: A string value corresponding to Element.Type
  • Stereotype: A string value corresponding to Element.Stereotype
  • PropertyName: The name of the property field to enable or disable
EventProperties Class

Return Value

  • Return False to prevent all edits to the described property
  • Return True to allow changes

Learn more