3D PLM Enterprise Architecture

User Interface - Commands

DialogEngine Programmer's Guide

Programming step-by-step
Technical Article

Abstract

This 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.


Creating a 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:

[Top]


In Short

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]


History

Version: 1 [Jan 2000] Document created
[Top]

Copyright © 2000, Dassault Systèmes. All rights reserved.