Resize
activity diagram and flow chart is very similar to how it describes the event flow and connected to the next action. In this activity diagram describes the players throw in after the implementation of Bowling events, and calculate the score will be displayed. From this activity diagram, you will learn all of the players will display an animated.
Tip: multiple choice
Tip: undo and redo
Tip: Delete the element
in the Diagram Editor, a tool button panel where you can edit the diagram .
l player scores updated after each throw a bowling alley;
Now let focus on “Display the Score” use case, activity diagram, draw it in the process. First, you need to add your project files in an activity diagram, select the “Display the Score” use case, then the pop-up menu, select [Create Diagram] – [Add Activity Diagram], a new activity diagram will be added, and in the Diagram editor.
l Once the game started to show a track record of Bowling scores;
Now let add the arrow between the elements to show the flow between these actions, the arrow is called Transition. To draw a Transition, you can use case diagram as drawn in the same Association Click to connect two goals, but you need to be careful when you click on the order of creation, I l tell you how to create a continuous T ansition.
Delete from completely remove all of the diagram. I will introduce you to JUDE features for viewing operation. If we draw a smaller proportion of the use case diagram, then in the view do not need to use this feature. When dealing with a large proportion of the diagram, especially when you need to modify some parts of diagram, JUDE This feature can be very easy for this operation. The area you want to display in the Diagram editor JUDE right-drag, so you can move them to the corner, in the main menu, select [View] or use the toolbar to zoom in or out, you can specify using the Map view shows the area you want to see.
If you want to know the role of each button, you can put the mouse on this button, the suspension of the message will be displayed on the button description. In the Diagram editor, you can use these buttons to switch drawing models, such as: When you want to move in the Diagram editor element, open [select mode] you can choose the elements you want to move a move operation; if you want to create a defined continuous element, you can switch the mode to [Lock Selected Mode], and so on.
will open with a use case diagram to open some of the default project file. In the tree view Usecase Diagram, right click, select [Open Diagram], or double-click in the Diagram editor.
Here are some requirements:
There are three ways in the Diagram editor for multiple selections.
l When creating elements while holding down the [Shift];
Tip: Create a row in JUDE
There are two types of lines.
Tip: line style
you may have noticed that when you are in the Diagram editor to create use cases and Actor, also added in the tree view, the same in the Diagram editor or tree view, select the element Their property is also shown in the lower left corner of the Property view, you can modify the data in these areas: Diagram editor, tree view, Property view, select the most convenient for you to use one.
To delete Actor or use cases, from their pop-up menu, select [Delete from Model] or [Delete from Diagram], provides two ways to delete elements because of the use cases such as the Actor and the elements of the diagram can be shared with other , can also be used for any other diagram.
When you draw the association line click on the wrong target, press [ESC] or the right to be redone, the method applies to any connection between the two elements, such as: Generalizations, Generalizations and Dependencies.
Let us use the Property view to change the name of use case diagram, in the tree view, select “UseCase Diagram”, its property will be displayed in the Property view, it would change the name of “Bowling UseCase Diagram” and then Press [Enter] to complete.
JUDE of undo and redo feature allows you to repeat 100 times! If you have not used up to now withdraw, to try to see how it works! When you do not worry about drawing the wrong picture, it so enjoyable to do!
Actor and now we draw a connection between the three use cases. Each line has its own meaning, we need one here called the Association of the line. In the Tools panel, select the button to create an Association Association, you have two clicks, which are the end goals and objectives click Start. First, click on “Player” The Actor, and then “Start the Game” click on this use case, is now an association line on the painting in the “Player” and “Start the Game” between, and then create the two in this way of the association line. Now add a rectangle, and write “Bowling Score System” to complete this diagram it!
Tip: cancel the association operating
l Method 1: Drag out in a number of elements on the choice of a rectangular domain, all the elements in the rectangle will be selected;
to We began to create all the elements except the arrow outside, you can create as before as the Actor and Use Case to create them, select elements from the Tools panel, then click in the Diagram editor to create them. You can view the Diagram editor or the Property will EntryAction set ActionState.
the activity diagram named “Behavior of displaying Scores”. Activity diagram in the toolbar have the following buttons:
Here I will describe how to draw a clear diagram of the three techniques.
element in JUDE in vertical and horizontal alignment, the use of [Align vertical center] to the left of the vertical alignment of elements (except for “Show an animation”), so that diagram looks neat, it can be a drag with the mouse rectangular target surrounded by all the elements to select them, then from the main menu [Alignment] – [Align Vertically] – [Align Vertical Center] or select the main menu toolbar buttons.
l players in the game can change the score;
Our goal is to experience the use of UML modeling tools to draw UML, diagram drawing does not matter whether it is perfect. So let get started.
” Calculate numbers of knocked out pins “in the line shown in ActionState if too long, so let us look at the ActionState adjust the size, it the name of the wrap. Adjust the size of the element only need to select elements of a drag angle.
l Method 2: In the diagram of the pop-up menu, select [Select All];
are now ready, we can begin to draw a diagram. What do we draw the diagram? You recently played Bowling to do? I very much enjoyed our few days before the holding of bowling, I guess a lot of people played bowling, so we use the UML as a bowling alley to the subject of it. Let draw a bowling scoring system of the UML.
l Method 1: In the Tools panel to open [Selected Mode];
l Method 3: select multiple elements hold [Shif];
Button Description Select Mode. When This mode is on, you can perform on a certain element of choice, edit, move and change the size of the operation. Lock Selected Mode. Allows you to create a continuous choice of elements. For example: You open the Lock Selected Mode when creating a Actor, once you add in the Diagram editor an Actor, you can create a more continuous Actor. Set Relation End to the center of the item. It places the ends of lines. (Eg Associations, Generalizations, or Dependencies) at the center of Model Elements. In the Tools panel, select the Actor, and then in the Diagram editor-click anywhere in the will create an Actor, enter the “Player” as the Actor name. Now let us re-create the same as creating Actor three use cases. You can drag them to the location of the mobile element, when you want to rename them when you can double-click the name of this element.
you can continuously create them yet, this is very useful for you, it is very easy. [Strike] is the guard of the value of Transition, Transition click the arrow, and then view the Guard in the Property column, enter the “Strike”.
seven, Draw a UseCase diagram
Now let start drawing it. We start with a use case diagram, we draw a figure below this diagram.
eight, Draw an Activity Diagram
2012 年 01 月 15 日
Ctrl D to delete only from the current diagram element is still retained in the model. [Delete from Model]
Tip: linear alignment
[Delete from Diagram]
Now let draw a diagram like the following activities.
l attack when someone displays an animated;