前页 | 后页 |
EARules_GetPropertyString
EARules_GetPropertyString allows an Add-In registered to provide rules for a language to override the text for the property string of an element. In standard UML notation this is rendered between '{' and '}' near the name.This event occurs during diagram drawing.
Syntax
Function EARules_GetPropertyString (Repository As EA.Repository, Language As String, Element as EA.Element, Order as Integer) As StringThe EARules_GetPropertyString function syntax contains these parameters.
Parameter |
Description |
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 |
Language |
String Direction: IN Description: Specifies the language for the rule that Enterprise Architect is requesting. This will match one of the values returned from EARules_Initialize. |
EARules_Initialize |
Element |
EA.Element Direction: IN Description: Specifies the element currently being drawn. |
Element Class |
Order |
Integer Direction: OUT Description: Controls the order in which text provided by base rules is added to the return value.
|