ScxmlEditor-Tutorial

Contents SCXML Wiki Forum

Inheritance

An option to inherit from base chart.

example

1. Create empty project

empty_proj

2. Add base chart

add_base

3. Add new chart which is planned to be derived

add_derived

4. Select base chart for setting inheritance

select_base_chart

5. Confirm adding inheritance

confirm

If operation is successful you will see all states marked with yellow circles. That means full matching to base chart

inheritance_look

6. Give unique state machine name and save the unit with the corresponding name

new_name

7. Set root for run and build if your new unit will be the main in the project

root

Description

desc

Red circle - means that there is a difference with the base state chart. You can see the log files for details

log

Yellow circle - means that there is no difference with the base state chart

New states - will be marked without additional signs

How to resolve mismatches

Since version 2.1 there is an option to mark mismatches as resolved resolve_menu

You may review resolved values in property InheritanceResolver.

resolved

Elements with resolved properties will be marked with orange circle.

TOP Contents SCXML Wiki Forum