Skip to content

Using the GE ASKE System Dialog User Interface

Andrew Crapo edited this page Jun 29, 2020 · 5 revisions

Note that the GE ASKE System Dialog user interface is an extension of the SADL user interface and so documentation of SADL is relevant. The Dialog IDE is Xtext-based.

Creating a new Dialog file

A Dialog file must exist in a project, so the first step is to create, if one does not already exist, a Resource project:

  1. File -> New -> Project...
  2. General -> Project, Next
  3. Enter project name (no spaces or other characters that would require URL encoding please), Finish.

Create a new Project (if needed)

  1. File -> New -> Other...
  2. General -> File, Next
  3. Enter a file name ending in ".dialog" ((no spaces or other characters that would require URL encoding please), Finish.

Give the conversation a URI

  1. With the focus in the newly opened Dialog editor window and the cursor at the beginning of the file, content assist (cntrl-space) should cause "uri " to be added to the first line.
  2. Enter a quoted URI (must start with "http://") for the file. Content assist should provide a valid name based on the file name given.
  3. Add " alias " to the line, where is replaced with a short alias for the conversation.
  4. End the statement with a period.
  5. Note that white space is not significant. The period ends a statement. The statement may have multiple newlines in it or none.

Import a Domain Model (if desired)

  1. Begin a new statement with "import ".
  2. Add a quoted URI which identifies a domain model (SADL or OWL file, see SADL documentation).

Start the conversation!

See examples in reports, see Dialog grammar, SADL grammar.