@techreport{TR-DCC-93-28, number = {DCC-93-28}, author = {de Lucena, Fábio N. and Liesenberg, Hans K. E.}, title = {Programming Dialogue Control of User Interfaces Using Statecharts}, month = {October}, year = {1993}, institution = {Department of Computer Science, University of Campinas}, note = {In English, 44 pages. \par\selectlanguage{english}\textbf{Abstract} This paper presents a technique to implement control of complex user interface dialogues. It is based on event-driven control flow specifications described by a deterministic statechart dialect. With the aid of this technique the dialogue control is expressed in terms of a statechart. This statechart is then converted into tables handled by a run-time commented in greater detail. The execution of the run-time driven by those tables is equivalent to the behaviour specified by the underlying statechart. The resulting system calls specific application functions in response to user interactions mapped to events by the presentation component. The application is seen as a set of subroutines which can be invoked during the interaction with the user. The use of the proposed technique frees the programmer from the implementation of complex control aspects. The way of how to construct these statechart dependent tables, their use by the run-time, and the way semantic actions are attached are illustrated by a small example of a reative system which highlights mainly dialogue control aspects. } }