Download Procasor Project - Student`s research project server
Transcript
Table of Contents Acknowledgment ........................................................................................................... v Foreword ..................................................................................................................... vi 1. The Procasor Team ............................................................................................. vi 1. Brief Overview ........................................................................................................... 1 1.1. How To Use This Book? .................................................................................... 1 2. Background ............................................................................................................... 2 2.1. Use Cases ....................................................................................................... 2 2.2. Specifying Component Behavior with Behavior Protocols - Pro-cases ........................ 3 2.3. Deriving Pro-cases from Use Cases ..................................................................... 4 2.4. Linguistic Analysis ........................................................................................... 4 3. The Procasor project .................................................................................................... 6 3.1. Writing Use Cases ............................................................................................ 6 3.2. Use Case step analysis ...................................................................................... 6 3.2.1. Constructing parse tree ........................................................................... 6 3.2.2. Parse tree analysis .................................................................................. 8 3.2.3. Generating tokens .................................................................................. 8 3.3. Deriving behavior specifications from Use Cases ................................................... 8 3.3.1. Pro-case generation ................................................................................ 8 3.3.2. Model Pro-case generation. ...................................................................... 8 3.3.3. UML State Machine generation ................................................................ 8 4. Linguistic tools application ......................................................................................... 10 4.1. Introduction ................................................................................................... 10 4.2. Parse Tree ..................................................................................................... 10 4.3. Linguistic Tools Used ...................................................................................... 10 4.4. Using Linguistic Tools ..................................................................................... 11 4.4.1. Initialization ........................................................................................ 11 4.4.2. Linguistic Analysis ............................................................................... 11 4.4.3. Restarting the Parser ............................................................................. 12 4.4.4. Running stand-alone linguistic tools ........................................................ 12 5. Use Case Step Analysis .............................................................................................. 13 5.1. Common Step Analysis .................................................................................... 13 5.2. Detecting Special Actions ................................................................................ 14 5.3. Condition Analysis ......................................................................................... 14 6. Generating Tokens .................................................................................................... 16 6.1. Preliminary ................................................................................................... 16 6.2. Main steps of token generating process ............................................................... 16 6.3. Manual changes ............................................................................................. 17 6.4. How to manage tokens ..................................................................................... 17 7. Constructing Behavior Specifications ............................................................................ 19 7.1. Creating a Finite State Machine ......................................................................... 19 7.2. Creating a Pro-case ......................................................................................... 20 7.3. Creating a Model Pro-case ............................................................................... 20 7.4. Creating a UML State Machine ......................................................................... 20 8. User Interface ........................................................................................................... 22 8.1. Introduction ................................................................................................... 22 8.2. Main Window ................................................................................................ 22 8.2.1. Main Menu ......................................................................................... 22 8.2.2. Linguistic Tools Control Centre .............................................................. 23 8.3. Project Window .............................................................................................. 24 8.3.1. Entity Management .............................................................................. 24 8.3.2. Model Management .............................................................................. 24 8.3.3. Use Case Management .......................................................................... 25 8.4. Use Case Window ........................................................................................... 26 8.4.1. Use Case Tables ................................................................................... 26 8.4.2. Analysis Tabs ...................................................................................... 28 iii