Property

The "Property" element is used to add a property to a class (program or function block) or an interface.

Add property

Select the "Property" tool: Property 1:

Then you can select the element in the diagram that should be extended by a property. At points that are not meaningful, the cursor has the form of a prohibition sign. At meaningful points the cursor has the form of a blue or black cross. If you click on such a point, a further property is added to the element in focus. The "Add property" dialog opens. Enter the required settings as usual. Closing the dialog expands the program element with this property, which is immediately updated in the class diagram and in the project tree.

Cursor shape:

Access modifier

Property 4:

Available from TC3.1 Build 4026

The access modifier of a method or a property is displayed in the class diagram by means of a symbol. The following table shows which symbol stands for which access modifier.

Symbol

Access modifier

+

PUBLIC

#

PROTECTED

-

PRIVATE

~

INTERNAL