|
Installation
UML StateWizard supports the following C/C++ integrated development environments, if you have installed any sofware below:
- Visual C++6.0
- eMbedded Visual C++4.0
- Visual Studio .NET 2003
- Visual Studio .NET 2005 Professional or Team Suite
To Automatically Install
To automatically install the UML StateWizard add-in on VC6/eVC4/VS.NET:
1) Double click the "Setup.exe" in the installation package.
2) Follow the instructions to install it to a specified location. Installer will register the add-in in n VC6/eVC4/VS.NET.
3) Right-click on the toolbar at the top of the VC6/EVC4 window to display the dropdown menu and select Customize from the menu. The Add-ins and Macro Files dialog is displayed. Or start Visual Studio .NET add-in manager by clicking menu item \Tools\Add-in Manager.
4) On the Add-ins and Macro Files dialog, or Visual Studio .NET add-in manager, choose the Add-ins and Macro Files tab. Click on the checkbox next to UML StateWizard.

Figure: Customize Add-in for VC6/EVC4

Figure: Customize Add-in for VS2003/VS2005
5) When the UML StateWizard add-in is turned on, you will find the UML StateWizard tool bar in the VC++.

Figure: The StateWizard Tool Bar in VC6/EVC4

Figure: The StateWizard Tool Bar in VS2003/2005
To Automatically Un-Install
To automatically un-install the UML State Machine Wizard add-in from VC6/EVC4/VS2003/VS2005:
1) Open Add or Remove Programs in Windows control panel. Double click the UML StateWizard.
2) Follow the instructions to un-install it from Visual C++.
To Manually Install on VC6/EVC4
To manually install State Machine Wizard add-in to VC6/EVC4:
1) Locate the following files in the add-in software.
StateMachineWiz.DLL
StateMachineWizard.HLP
StateMachineWizard.CNT
2) Copy these files in a location, for exmaple: C:\Program Files\IntelliWizard\StateMachineWizard\
3) Start VC6/EVC4.
4) Right-click on the toolbar at the top of the Visual C++ window to display a menu and select Customize from the menu. The Add-ins and Macro Files dialog is displayed.
5) On the Add-ins and Macro Files dialog, choose the Add-ins and Macro Files tab.
6) Click Browse button to locate add-in file. In this sample, go to directory C:\Program Files\IntelliWizard\StateMachineWizard\
7) Click on the checkbox next to UML State Machine Wizard.
8) Click Close.
You are now ready to use State Machine Wizard in your Visual C++ environment.
To Manually Un-Install from VC6/EVC4
If you installed the UML State Machine Wizard add-in manually, use this procedure to uninstall it from Visual C++:
1) Start Visual C++ 6.0.
2) Right-click on the toolbar at the top of the Visual C++ window to display the dropdown menu and select Customize from the menu. The Customize dialog is displayed.
3) On the Customize dialog, click the Add-ins and Macro Files tab.
4) Click on the checkbox next to State Machine Wizard Add-in to remove the check mark.
5) Click Close.
6) The State Machine Wizard toolbar is removed from the Visual C++ window.
The UML State Machine Wizard add-in is removed from the list of available add-ins on the Visual C++ Customize dialog.
Quick User Manual:
StateWizard is a pop-menu driven IDE add-in. After installing StateWizard. For VC6/EVC4, open add-in manager through Tool/Customize/Add-ins. If you have gotten the Toolbar, please close the current workspace if a workspace is open. And then reopen a VC6 workspace, you will get the StateTree tab window, because the StateWizard create StateTree tab window on workspace creating.
For VS2003/VS2005, this add-in is automatically enabled. And then StateWizard will provide a tool bar for you. Click "Show" button in the StateWizard tool bar, StateWizard will show the StateTree window. In the StateTree window, you can create a new state machine application into the seclected project; you can add a new state into the selected application or state. Futher more you can construct a state machine using the StateChart too.
Samples:
Unzip sample.zip, you will find the following samples:
- Embedded_C: A simple platform-independent embedded program: phone application in standard C.
- Embedded_Class: A simple platform-independent embedded program: phone. All state machine applications are organized in C++ classes.
- EVC4_WinCE: A WinCE program Player in eMbedded Visual C++4 using window message hook technology.
- VS2005_WinCE: A WinCE program Player in Visual Studio 2005 using window message hook technology.
- Player_History_Tran_Class: A Win32 program Player in VC6/VS2003/VS2005 using window message hook technology. Player application is implemented in a class. Meanwhile, it demostates the feature of the history transition.
Copyright 2007 IntelliWizard Inc. All Rights Reserved.
EMail : info@intelliwizard.com
|