Reprinted from: http://blog.csdn.net/losophy/article/details/12417531
In addition UML use case diagram procedure see http://jingyan.baidu.com/article/3f16e003c3b9172591c10301.html
The following is reproduced content
In the process of learning UML, Rational Rose's role is extremely important. Most of the now can be found is 2003, but the following connection is 2007.
http://blog.csdn.net/skl_TZ/article/details/8925152
This tutorial will teach you to use rational Rose. This includes use case diagrams, class diagrams, Time series diagrams, co-plots, and mapping of state diagrams.
After you start rational rose, it will prompt you to create a new model. There are some models for you to choose from. In this tutorial, we will choose the Java EE model. If you have a model that already exists, select the "Existing" tab or the "Recent" tab to load them.
Then, three packages are created automatically. Java,javax and org, respectively. The Java package includes some basic Java classes, and the Javax package includes Java extension classes such as swing and servlet, and so on. The org package includes CORBA stuff.
Here are some windows:
First of all, we want to create actors. In Brower area, click "Use Case View", "Main". Click the actor in Diagram Toolbox and drag it to the Diagram window.
Give it a name.
Similarly, use this method to create professor, student, and billing system. Then click on Diagram Toolbox and drag it to the Diagram window.
In the diagram Toolbox, click Unidirectional Association and drag to the Diagram window.
There are some use cases that can reuse other use cases. For example, "Logon Validation" uses "Register for courses" and "maintain schedule". So a "generalization" (uses) relationship can be modeled. Click "Generalization" to associate to "Register for courses" and "maintain schedule".
Empty on the use case description, double-click on "Logon Validation" and write a description.
Then we'll create a time series diagram. In the menu, choose "Browse", "Interacton diagrams ...", "Use case View"-><new>->ok. Write the name "Addcouse" and select "Sequence", then click OK.
In the browser area window, the Addcourse icon appears below the use Case view. All the actors are here. Click Student and drag it into the diagram Window. Right-diagram windows and select "Class Wizard ..." To create registration Form class, registration manager class, Math 101 class, and Math 101 section 1 class respectively.
Fill in the object message. Click Object Message and drag to the Diagram window.
We then create collaboration diagrams that show the interplay between objects and the connections between them. In the menu, select "Browse", "Interaction Diagrams", "User case View"-><new>->ok. Write the label title "Setcourseinfo" and select " Collaboration ", click OK. We can see that "Setcourseinfo" is under "use Case View".
Click "Object Link" on the Diagram Toolbox and drag it into the Diagram window.
Click "Link Message" on the Diagram Toolbox and drag it to the Diagram window. Make a name.
Click "Logical View", "Package Hierarchy" in browser area to see the class Diagram.
In the Addcourse sequence diagram, we know that the Registrationmanager class has a addcourse operation. Double-click the Registrationmanager class and click "Operations". Right-click Insert to return a Boolean type of "Addcourse" action.
In browser is double-click student and select Attributes. Right-click to insert name and major attributes.
In each table, we can find relationships between classes. For example, Regiatraionmanager relies on schedulealgorithm, and Registrationform is linked to Registrationmanager.
Under "Logic View", "Registrationmanager", "Addcourse", right-click on "Addcourse", "New"->statechart Diagram, Create a state transition diagram for Addcourse.
Drag out the States,state transition first, then set the event,action and conditions.
Ps:
Rational Rose itself does not have the ability to save as a jpg/gif image format.
1. You can paste the chart directly into an open Word document by selecting, copying, and pasting them all.
2. Or paste into the open Visio blank chart and choose Save As Jpg/gif format.
However, this method is not suitable for copying to other drawing software, including Windows brushes, because all Chinese text will be a question mark by default.
Here's how to fix it:
1. Solve the Chinese character problem first:
Rose Menu->tools->options->general
Default font-> is set to Arial 12px and the character set is Gb2312
Documentation Windows Font-> is set to Arial 12px, select the character set of Gb2312
application/Determination
Save exit
Restart rose to open the file
2. Now try to select all, copy, paste into the Windows brush or Photoshop and other drawing software, the Chinese problem solved.
3. Save the graphic in a JPG or GIF format using a brush or drawing software.
Part of the content translated from: "Rosetutorial"