SCXML File Preferences
To set SCXML file preferences:
- Select Window > Preferences > Composer > SCXML Files.
- Select the suffix that Composer should add to SCXML files. The default is scxml.
- Select the encoding for the file. The encoding attribute in an SCXML document specifies the encoding scheme. The encoding scheme is the standard character set of a language. The SCXML processor uses this encoding information to know how to work with the data contained in the SCXML document. UTF-8 is the standard character set used to create pages written in English. Select from the following:
- ISO 10646/Unicode(UTF-16LE) Little Endian
- US ASCII
- ISO Latin-1
- Central/East European (Slavic)
- Southern European
- Arabic, Logical
- Arabic
- Chinese, National Standard
- Traditional Chinese, Big5
- Cyrillic, ISO-8859-4
- Cyrillic, ISO-8859-5
- Greek
- Hebrew, Visual
- Hebrew
- Japanese, EUC-JP
- Japanese, ISO 2022
- Japanese, Shift-JIS
- Japanese, Windows-31J
- Korean, EUC-KR
- Korean, ISO 2022
- Thai, TISI
- Turkish
- Check the box to warn if no grammar is specified when validating SCXML files (not selected by default).
- Click SCXML Templates.
SCXML Templates
Composer provides a set of predefined templates when writing SCXML code to create routing strategies. You can either start off from scratch in the SCXML editor or use one of the available templates as a starting point. Use this preference to create, edit, or remove templates as well as to import and export templates.
- Select Window > Preferences > Composer > SCXML Templates.
- In the resulting Templates dialog box, do one of the following:
- To create a new template click New... The New Template dialog box opens for naming and describing the new template.
- To edit an existing template, select its row and then click Edit...The Edit Template dialog box opens for editing.
- To remove a template, select its row and click Remove. If you change your mind, click Restore Removed,
- To import a template, click the Import... button, navigate to the folder containing the SCXML file, select the file, and click Open.
- To export one or more templates, select the row(s) and click the Export... button. In the Export Templates window, click the target location and click Save.
- If you change your mind after editing a predefined template, click Restore Defaults.
- Click Source.
Source
Source preferences are based on the XML Editor preferences. See that topic for more information.
Syntax Coloring
Syntax coloring preferences are based on the XML Editor preferences. See that topic for more information.
This page was last edited on November 30, 2018, at 18:46.
Comments or questions about this documentation? Contact us for support!