4. How to run SUIP on sample systems
After downloading the software, you can run SUIP on existing sample systems. The current release of SUIP includes four sample systems: ATM system (atmprj), Library system (libprj), filing system (efsprj), and the gas pump system (gasprj).
SUIP can be run with one or two arguments "java Suip projectname [usecasename]":
- projectname is the directory where SUIP will find the scenario descriptions of the project at hand.
- usecasename which is optinal, corresponds to a specific use case of the project. SUIP can be run to analyze one or all use cases of the system.
Under each projectname directory, you will have the following sub-directories.

- The text file projectname.ClassD contains a textual description of all classes found in the system. You can see some ClassD examples in the section 4.
- The directory UseCases contains the scenarios descriptions classified by use case, these scenarios represent and the ClassD the input information of SUIP.
- The directory StateDs contains the resulting global specification of the objects involved in form of Statechart.
- The directory UIobjects contains for each UI object (UIO) the java files generated by SUIP, these java files represent the UI prototype that must be embedded in visual cafe for improvement.
For instance, to run SUIP on the library system, type:
java Suip libprj.
To run SUIP on the library system for a specific use case (loan for example), type:
java Suip libprj loan
To visualize the prototype for a UIO (UIO=Terminal for the library system), you must:
- create a new empty project in the environment of Visual Cafe,
menu File à New project à Empty project
- insert the Java files generated for the UIO (found in libprj/UIobjects/UIO/) into this new project,
menu Insert à Files into project
- execute the project in Visual Cafe. You can directly refine the frames generated in the interface builder of Visual Cafe.
menu Project à Execute