Skip to main content

Dialog: Options: UML

Symbol: _uml_icon_addon.png

Function: The dialog contains configuration options for working in the class diagram editor and in the statechart editor.

Call: Tools → Options menu, UML category

When the dialog is exited, the changed options will be applied to all currently open UML editors.

Tab: General

Grid

Grid space

Grid line spacing (in pixels). Default value: 10

Snap to grid

_cds_icon_checked.png: Elements in the UML editors are aligned to the grid when the position is changed. This setting can also be changed by means of a command in the editor.

Display grid points

_cds_icon_checked.png: The grid is visible in the editor as a point grid.

Note Element

If the text to be displayed is longer than the defined size, then an ellipsis (...) are displayed. In these cases, the tooltip of the note element displays the full text.

Maximum width

Maximum number of pixels which can be displayed in a line.

Minimum value: 100

Maximum value: 2000

Maximum lines

Number of lines which are displayed in the note element.

Minimum value: 1

Maximum value: 100

Tab: Statechart

Position together condition and action of a relation

_cds_icon_checked.png: A guard condition and an action that belong to the same transition are always repositioned together in the diagram.

Fixed size of states

_cds_icon_checked.png: The size of states in the diagram are unchangeable.

Tab: Class Diagram

Show prompt when deleting objects from diagram

_cds_icon_checked.png: The command for removing the selected elements from the diagram first displays a dialog prompt with the following options:

  • Delete from diagram

  • Delete from project and diagram (no undo possible)

Skip Refactoring Preview

_cds_icon_checked.png: When refactoring is triggered in the diagram, the project-wide change is made without first opening the Refactoring dialog with a preview of all changes.

You can see whether or not the preview is activated in the open class diagram editor at the KD: Refactoring Preview entry in the taskbar of the main window (green: activated; red: deactivated).

For a description of the refactoring functionality, see the CODESYS help: CODESYS Development System > Programming of Applications > Refactoring.

Hiding variables

Hide internal variables

In the class diagram, all variables which have one of the following scopes are hidden in the POUs: VAR, VAR_TEMP, VAR_STAT, or VAR_INST

Hide signature variables

In the class diagram, all variables which have one of the following scopes are hidden in the POUs: VAR_INPUT, VAR_OUTPUT, VAR_INOUT, or VAR_EXTERNAL

Hiding POU members by access level

The following options can be used to hide or show access modifiers for methods, actions, transitions, and properties. Members with an access modifier with a lower access level are shown or hidden. The priority of the access levels in descending order is as follows: INTERNAL, PROTECTED, PRIVATE

Hide PRIVATE members

_cds_icon_checked.png: All POU members with the PRIVATE access modifier are hidden in the class diagram.

Hide PROTECTED members

_cds_icon_checked.png: All POU members with the PROTECTED and PRIVATE access modifiers are hidden in the class diagram.

Hide INTERNAL members

_cds_icon_checked.png: All POU members with the INTERNAL, PROTECTED, and PRIVATE access modifiers are hidden in the class diagram.

Hide all members

_cds_icon_checked.png: All POU members are hidden in the class diagram.

Hiding POU members by type

Hide METHODS

_cds_icon_checked.png: All methods are hidden in the class diagram.

Hide ACTIONS

_cds_icon_checked.png: All actions are hidden in the class diagram.

Hide PROPERTIES

_cds_icon_checked.png: All properties are hidden in the class diagram.