![introduction to rational rose case tool introduction to rational rose case tool](http://www.interface.ru/rational/rose/rp83.jpg)
- #INTRODUCTION TO RATIONAL ROSE CASE TOOL HOW TO#
- #INTRODUCTION TO RATIONAL ROSE CASE TOOL SOFTWARE#
- #INTRODUCTION TO RATIONAL ROSE CASE TOOL WINDOWS#
From the menu bar, select Tools> Java/J2EE> Generate Code. Select the class diagrams, Test and Hello by left clicking on Test first and hold down Ctrl key and left click on Hello class.
![introduction to rational rose case tool introduction to rational rose case tool](https://i.ytimg.com/vi/tvoRz0O5tJA/maxresdefault.jpg)
Click on the button with three dots to see a dialog box. Double-click on the last one of the Classpaths as shown in the following diagram. From the menu bar, select Tools > Java/J2EE > Project Specification.ġ1 2. Draw the line starting from the Test to Hello to make an object instantiationġ0 Step 6. Select the dash line icon (Dependency or instaintiates) 2. Add two methods: main and Testĩ Test main() Test() Step 5. Right click on the Test class, and select New Operations 4. Place a class into the workspace Class Diagram, and give the class name: Test 3. Change Operation Specification for Hello method - Right click on the class diagram Hello to select Operation Specification for showing Class Specification for Hello - Select Implementation radio button in the Export Control - Verify the Hello class diagram is the same as shown below.Ĩ Hello message : String = "Hello UML" getname() Hello() Step 4. Add Operations to the Hello class - Right click the Hello class to get an dialog box - Select New Operations, and give a new method name as getname, then hit Enter key to enter another method name as Hello - Double click the getname method to display Operation Specification menu for getname dialog box - Add return type as: String add some information on this operation method to Document text box 5. Add Attributes to the Hello class - Right click the Hello class to select New Attributes from a dialog box - Accept the default name, and hit enter - Right click the Hello class again to select Open Specification - The window called Class Specification for Hello is then displayed change the attribute name to message select Type as: String specify Initial Value with a pair double quotes as: Hello UML set Export Control to: privateħ 4. Create a new class called Hello - Tools > Create > Class - Select the Class icon (rectangle box symbol) from the Toolbox - Place a class to the workspace of the Class Diagram - Type in a desired class name: Hello - Right click the new class diagram and select Open Specification - View the class name in the name box: Hello - Select class in the Type combo boxĦ 3. Right click on the User case to change the name to HelloUML Actor HelloUML Step 3: Create Hello Class Diagram (classes, attributes, and operations) 1. Select the Use Case from the Toolbox and place it into the User Case Diagram 6. Right click on the Actor to see the pop-up menu, and then select Open Specification menu 5. Select the Actor from the Toolbox and place it into the Use Case Diagram 4. From the menu bar select Tool > Create > Use Case 3.
#INTRODUCTION TO RATIONAL ROSE CASE TOOL WINDOWS#
A Tour of Rational Rose Environment Application Window: a title bar, tool bar, menu bar, and a work area for displaying toolbox, browser, document window, diagram window, and specification window Browser: a window with navigation tool for viewing diagrams and many other model elements Documentation Window: for preparing text information to describe model elements or relationships Diagram Windows Overview Window: can be showed through put the mouse pointer over hand icon Other windows such as Log, Edit, can be access through View on menu barĢ Title Bar Menu Bar Tool Bar Browser Documentation Window Toolbox Diagram Windowģ Specification Window b) Creating a simple application (Hello.java) Step 1: Run Rational Rose Enterprise Step 2: Create a Use Case Diagram 1.
#INTRODUCTION TO RATIONAL ROSE CASE TOOL SOFTWARE#
WEB SITE REFERENCES Professor Lin s Web site: Rational, the Software Development Company EQUIPMENT AND SOFTWARE PC (256 Mbytes, Windows OS) Rational Rose Enterprise Software SUN Java Development Tool kit J2SE (standard edition) or J2EE (enterprise edition) Notepad editor PROCEDURE a. At the end of this lab, you should be able to run the program Test to display HelloUML message under the Window s command line.
#INTRODUCTION TO RATIONAL ROSE CASE TOOL HOW TO#
We will also learn how to create a Use Case, two Java classes called HelloUML and Test, generate Java code, edit the Java code, and compile the Java program. We will learn how to work with Rational Rose Enterprise software, Case diagram, and Class Diagram. 1 LAB 1 Familiarization of Rational Rose Environment And UML for small Java Application Development OBJECTIVE AND BACKGROUND The purpose of this first UML lab is to familiarize programmers with Rational Rose UML environment and Java application development.