Lexicon Editor view

The Lexicon Editor lets you view and edit the contents of lexicon files within the lexicon modules on your Workbench PC. You can then install the edited lexicon files in a remote JACE using the platform Lexicon Installer view. Also, you can create (or update) a lexicon module with those edited lexicon files, using the new Lexicon Module Builder view. You can install the module in a remote JACE using the platform Software Manager view.

Figure 5. Lexicon editor


Lexicon editor

Typically, you access the editor from the Lexicon Report view with a lexicon selected on the left side, by double-clicking a module in the selection table on the right side

The lexicon editor displays a table listing the defined keys for that module, with columns for mapping to a localized value override for the default value, as follows:

NoteCheck boxes at the top of the view allow you to “hide” values that could affect “missing” status counts, or filter the view to show only those keys “missing” localized character values or only those keys with “completed” localized character values, as described in Lexicon display options.

At the top of this view, you can search for the specified text on either the lexicon property Key, the property Default, or the custom Value. As needed, you can resort the table columns to find information needed, and simply click any row to select that key. Clicking any row in the table populates the Key field.

At the bottom of the Lexicon Editor view, the Add New Key button enables the Key field. The Value text field allows you to modify the value of the selected key or add a value for a new key. Starting in Workbench 3.7 the Value field has associated Color Chooser and Ord Chooser buttons. These options allow you to browse for a specific color or ORD element. Update the table with the the Value field entry by clicking the Update Value button. Write changes to the lexicon file by clicking the Save button on the toolbar.

Figure 6. Use color chooser to enter hex code for background color value for Status Alarm down


Use color chooser to enter hex code for background color value for Status Alarm down

About Adding Key/Value Pairs

As mentioned above, the Add New Key option allows you to add a new key/value pair to a lexicon file. If a particular key is not included in a lexicon file, you can use this option to add the key. For example, if you want to globally replace the “Elapsed Active Time” and “Elapsed Active Time Numeric” property descriptors with “Runtime” and “Runtime Numeric”, you must add those keys to the lexicon file. This is sourced in the control module. So, you must add the new keys in the control module.

Refer to Common tasks for more details on adding key-value pairs.