3D PLM Enterprise Architecture |
User Interface - Commands |
DialogEngine Programmer's GuideProgramming step-by-step |
Technical Article |
AbstractThis article is the state dialog command programmer's guide. Organized as a step-by-step, it deals with all you can do to program your state dialog command. |
Once you have designed your state dialog command and you have drawn its statechart diagram, you can go on with creating the command class. To do this, follow these steps:
Activate
, Desactivate
, and Cancel
.BuildGraph
method. You
will create the states, the transitions, declare the conditions and actions,
and create dialog agents to take care of the end user input[Top]
A dialog state command is a dialog command designed as a state machine, each state enabling end user input, that enables the end user to pass from state to state using transitions between these states triggered when requested events happen and when requested guard conditions are satisfied, and that execute the declared actions. It is modeled using a class deriving from the CATStateCommand class.
The statechart diagram is implemented using the BuildGraph
method, and the command life cycle is managed by the Activate
, Desactivate
,
and Cancel
methods in addition to the command class constructor and
destructor.
[Top]
Version: 1 [Jan 2000] | Document created |
[Top] |
Copyright © 2000, Dassault Systèmes. All rights reserved.