<<

Telelogic Rhapsody :Getting Started

2008. 3.17 SE Lab Chanhee Yi Contents

™ Tool overview 9 Rhapsody 9 Download and install 9 Starting 9 Tool

™ Rhappysody for S/W develo pment 9 Drawing UML 9 Code generation 9 Animating diagrams 9 ReporterPLUS

™ Demo

™ Advice

2008-3-17 Engineering Lab, KAIST 2/18 Tool overview(1/7)

™ Rhapsody 9 Tool that enables visual design environment • To create requirements and model systems Rhapso dy stands for 9 Tool that allows the following this part in our Analysis Define system requirements and so on using the UML class diagrams Design Take into account architectural and detailed design considera tions Implementatio Generate code automatically from models n Testing Perform design-level debugging with simulations

2008-3-17 Lab, KAIST 3/18 Tool overview(2/7)

™ Download 9 http://www.telelogic.com/Products/rhapsody/evaluation.cfm

Fill this area and press register

2008-3-17 Software Engineering Lab, KAIST 4/18 Tool overview(3/7)

™ Getting a license for 30-days 9 Submit your own computer information and go on

Press this and then follow

Press this and then follow

2008-3-17 Software Engineering Lab, KAIST 5/18 Tool overview(4/7)

™ Getting a license for 30-days(cont’d) 9 You may get it through your e-mail.

2008-3-17 Software Engineering Lab, KAIST 6/18 Tool overview(5/7)

™ Starting 9 Run rhapsody with one chosen language

2008-3-17 Software Engineering Lab, KAIST 7/18 Tool overview(6/7)

™ Tool Interface

2008-3-17 Software Engineering Lab, KAIST 8/18 Tool overview(7/7)

™ Tool Interface(cont’d) 9 Filtering the browser display • Use-case, , , … 9 Moving and copying browser items • Dragging-and-dropping • Ctrl key when copying

™ Additional feature 9 Creating backups 9 Using name conventions Convention Example Convention Example Event names = “ev” evStart Class names System ItInterf ace classes = IHar dwar OtidOperations and resttSttartSystem, “I” e attributes checkStatus 2008-3-17 Software Engineering Lab, KAIST 9/18 Rhapsody for S/W development(1/7)

™ Used diagrams 9 Partially constructive diagrams • Use-case, sequence, collaboration diagrams 9 Fully constructive diagrams • Object model, component, diagrams and statecharts

™ Creating UML diagrams 9 First create Project and then right-click your mouse upppjyon the project you create

2008-3-17 Software Engineering Lab, KAIST 10/18 Rhapsody for S/W development(2/7)

™ This is Drawing ancreated Use-case when diagram you create “ Diagram” fldfolder

Use this to draw an use- case diagrm

2008-3-17 Software Engineering Lab, KAIST 11/18 Rhapsody for S/W development(3/7)

™ Drawing an Object Model(Class) diagram 9 You can draw this by doing similarly as the case of the former You can see the detail for this By double- clinking if you created the class diagram of “IHardware”

Creating the class diagram of “IHardware” is possible by right- clicking upon “IHardware” unless it already has

2008-3-17 Software Engineering Lab, KAIST 12/18 Rhapsody for S/W development(4/7)

™ Drawing a (or a statechart) 9 You can draw this by doing similarly as the case of the former

2008-3-17 Software Engineering Lab, KAIST 13/18 Rhapsody for S/W development(5/7)

™ Code generation 9 Type of running • Whether using provided implementations of design elements or not ¾ Ela bora tive or Trans itive

9 Functions • Dynamic model code associativity • Generation of Makefiles • Edition of codes with IDE*

*IDE : Integration Development Environment ™ Building 9 Compilation of the generated code

2008-3-17 Software Engineering Lab, KAIST 14/18 Rhapsody for S/W development(6/7)

™ Animating diagrams 9 Three target diagrams • Sequence, activity diagrams and statecharts

9 Four supported languages • CC,++, C, Java and Ada

9 Shortcut to run animations • Press Generate/Make/Run in the tool tab of the menu

9 Usage • GUI testing with the given generator • For fun and so forth…

2008-3-17 Software Engineering Lab, KAIST 15/18 Rhapsody for S/W development(7/7)

™ ReporterPLUS 9 Enable to generate various formal presentations • HTML page, MS Word, MS PowerPoint • RTF, tex t *RTF : Rich Text Format 9 Provide standard templates and the way to customize them

Template Name Prefferred Output Description formats Class.tpl HTML or Word Defines the information about the classes in the project GetStarted.tpl Word & PowerPoint Show all diagrams and classes in a model ProjectReport. tpl Word Defines the information about the complete project Rhapsody HTML HTML only Same as the above, but in HTML Exporter. tpl

2008-3-17 Software Engineering Lab, KAIST 16/18 Demo

™ Scenario 9 1. Starting and loading samples • HomeAlarm system

9 2. Animating diagrams • Sequence diagram and statecharts

9 3. Documenting using the ReportPLUS • Report in a Word format • Report as web pages

2008-3-17 Software Engineering Lab, KAIST 17/18 Advice

™ About tool usage 9 Press “Help -> Welcome Screen” from the menu. 9 Then press “Documentation->User Guide” 9 After that, you can see very kind 1242 pages • Your TA is also a student!!! T-T) (Ref. : he is a member of prof. Bae’s Lab . )

™ About generating code and animating diagrams 9 In fact, Demo is the one made very carefully • Makinggy your pro ject do those correctl y ma y be not eas y ¾ But, it’s certainly 쫌 멋진듯.. if you do • Purpose of using this tool is to model your system “안전한집” with UML diagrams

2008-3-17 Software Engineering Lab, KAIST 18/18