Instant Reverse - Visual Paradigm

Instant Reverse - Visual Paradigm Instant Reverse - Visual Paradigm

media.visual.paradigm.com
from media.visual.paradigm.com More from this publisher
21.07.2013 Views

SDE-VS User’s Guide (Part 1) Chapter 12 – State Machine Diagram Code Generation 4.Configure the Output Path. The default output directory is the directory of Visual Studio. You may change the output directory by deselecting the "Generate to Source Folder" item. Figure 12.10 - Configure an output path 5. The process of generation is shown. You may choose to Close Dialog when finished progress by checking the check box. Figure 12.11 - Process of generation 6. The code is generated. Figure 12.12 - Code generated 12-5

SDE-VS User’s Guide (Part 1) Chapter 12 – State Machine Diagram Code Generation Programming with Generated State Machine Code SDE-VS supports the generation of different types of state machine code. Since the steps for generation of codes in different languages are similar, Java will be used as an example to illustrate the steps. Before generating the code, you may want to configure the properties of states and transitions. For state, configure by selecting Open Specification...from the pop-up menu. 12-6 Figure 12.13 - Select Open Specification... The State Specification dialog box is now open, and you can configure the state properties here. You may edit the Entry property by clicking Edit... . Figure 12.14 - State Specification dialog box

SDE-VS User’s Guide (Part 1) Chapter 12 – State Machine Diagram Code Generation<br />

4.Configure the Output Path. The default output directory is the directory of <strong>Visual</strong> Studio. You may change the output<br />

directory by deselecting the "Generate to Source Folder" item.<br />

Figure 12.10 - Configure an output path<br />

5. The process of generation is shown. You may choose to Close Dialog when finished progress by checking the check box.<br />

Figure 12.11 - Process of generation<br />

6. The code is generated.<br />

Figure 12.12 - Code generated<br />

12-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!