Editor: Visualization Style Editor
Symbol:
Function: The editor is used for creating, deriving, editing, and localizing visualization styles. In addition, it makes it possible to check and install a style or a hierarchy of styles.
In CODESYS:
In the Visualization Manager object, on the Settings tab, in the Style Settings group, click
for a list box). Click Open Style Editor there.
Windows Start Menu > installation folder of CODESYS > 'CODESYS' folder > Visualization Styles Editor
Menu: File
| The Create New Visualization Style dialog opens. |
| The Open dialog dialog opens. The dialog prompts you to select a style file (format |
| The Open existing style as dialog dialog opens. The dialog prompts you to select a style that is copied, saved to the target location, and opened for editing. |
Close | Closes the style open in the editor. |
| Saves the changes of the open style. |
Save as | The Save Visualization Style as dialog opens. The dialog prompts you to select a file to save the current settings. |
| Saves the open visualization style and installs it to the Visualization Style Repository. |
Recently opened files | Lists the files for selection that were last opened. |
Abort | Closes the Visualization Style Editor. |
Menu: Styles
The commands affect the contents of the Style Properties tab.
| Creates another style entry as a child of the selected style property |
| Creates a new style entry in the list after the selected style property |
| Moves the selected style entry down Requirement: Sort order is flat. |
| Moves the selected style entry up Requirement: Sort order is flat. |
| . Toggles between three sort orders:
|
| The settings of the style properties are checked for consistency errors. This check is also performed when saving the style. |
Menu: Localization
The commands affect the contents of the Localization tab.
| The dialog Add new language opens. The dialog prompts you to specify data for creating a new language column. |
| Removes the columns of the selected cell |
Rename selected language | The Rename Language dialog opens. The dialog is used for renaming the column that defines the selected cell and removes all previous translations. |
Name | Name of the new language as a language code according to ISO 639-1 Examples: |
Copy from existing | All existing language columns are available for selection. The selected language is copied with all entered translations. <do not copy text>: The new language receives a blank translation column. |
Tab: General
The tab contains the general metadata of the open style file and allows it to be edited.
Company | Example: TipIn the installed styles, CODESYS can filter by the company names specified here. |
Name | Example: |
Version | User-defined version number Example: |
Base style | Name and version of the style that the open style is based on. Hint: The derived style properties from the base style are highlighted in yellow on the Style Properties tab. |
Partial style (usable only as base for other visualization styles) |
Example: Style only with color definitions that derive this to many other styles. Note: CODESYS does not check for consistency errors of an incomplete style for itself.
|
From | The Select base style dialog opens. The dialog prompts you to select a style file that is saved to the file system (and not does not have to be installed). The file is used as a base style. |
Visualization Profile | The profile is intended for informational purposes. For example, you find elements that are not preconfigured with special style entries, and information from the profile. In addition, CODESYS checks in the profile whether a required style is missing. |
Tab: Style properties
The tab lists the names of the style properties with the associated values and makes it possible to edit it, even by means of the commands in the Styles menu.
The style properties can be defined for colors, fonts, images, and any values.
The style properties defined in a base style are derived and highlighted in yellow.
Name | Name of the style property. If the name contains a dash, then the Visualization Style Editor can sort the style properties by the prefixed terms before the dash and display them in a hierarchy. A name can contain more than one dash. |
Value | Value that is assigned to the style property. |
Type | Data type of the style property; selected from a list box. NoteThis is possible and necessary only for specific style properties with a data type that is not implicitly defined. |
Attribute | hide: The associated style property is not listed in the list boxes in CODESYS. |
Used by | Visualization element that can be configured with this style property. Cannot be edited. |
Comment | Example: |
Del | Removes the selected row. |
Tab: Localization
The tab makes it possible to translate the names of the style properties into other languages.
Name | Lists the name of the style properties as they are defined on the Style Properties tab |
<language> | Identification of the language name (as language code according to ISO 639-1) in which the style property name should be translated |