Use Case Details
VP-UML provides you a Use Case Details editor to specify the use case descriptions with rich-text editing, sub-diagrams manipulation and preview. All the information provided to the Use Case Details editor will also be documented.
You can also create your own description template based on the original template for future use.
Creating Use Case Diagram
Create a use case diagram by any of these 3 methods listed below.
Method 1 - Creating a Use Case diagram from the menu bar:
On the menu, select
File > New Diagram > UML Diagrams > Use Case Diagram. A new use case diagram will be created.
Method 2 – Creating a use case diagram from the toolbar:
Click on the
New Use Case Diagram button

from the toolbar. A new use case diagram will be created.
Method 3 – Creating a use case diagram from the Diagram Navigator:
Right-click on the Use Case Diagram from the Diagram Navigator on the left side.
Click on
Create Use Case Diagram from the pop-up menu. A new use case diagram will be created.
Draw a use case by choosing the
Use Case icon on the diagram palette then clicking on the diagram. Rename the use case as
Withdraw Money by double-clicking on the use case and then pressing
Ctrl + Enter to finish the operation.
Add an actor to the use case diagram by choosing the
Actor icon on the diagram palette and then clicking on the diagram. Rename the actor as
Customer.
Add an association from
Customer to
Withdraw Money using the
Association → Use Case resource of the
Customer actor. Drag the resource to the
Withdraw Money use case.
Right-click on the
Withdraw Money Use Case and select
Use Case Details... from the pop-up menu to open the
Use Case Details – Withdraw Money editor.
Click on the
Description tab to see the description of the selected use case.
Creating and Deleting New Use Case Description
Right-click on the
Description1 on the left frame of the dialog box. Select
New from the pop-up menu. A
New Use Case Description dialog box will appear.
Rename the description name in the
Name field. You can also select 1 from the 6 description templates provided. Each template will have different description properties. For example
Description2 is entered in the
Name field and
Basic template is selected. Click the
OK button to finish.
You can delete the description by right-clicking on the description and selecting
Delete from the pop-up menu.
There should be at least 1 description for each use case, so you will not be able to delete the last description as the
Delete option will be disabled.
Creating and Deleting Flow of Event
To add a Flow of Event, right-click on the right frame of the dialog box and select
Add Flow of Event from the pop-up menu.
Enter the name of the new flow of events on the
Input dialog box.
A new flow of events item is created.
To delete the flow of event, right-click on the flow of events you want to delete and choose
Remove Item from the pop-up menu.
Click
Yes for the
Remove dialog box to confirm deletion.
Editing, Adding and Removing Item for Flow of Event
To edit the flow of events in the use case description, click on the flow of events table to enter a new
Actor Input or
System Response.
To add a new
Actor Input or
System Response row, right-click on the sequence number column and select
Add Item from the pop-up menu.
A new row will be added, and you can enter the
Actor Input or
System Response.
To delete an
Actor Input or
System Response row, right-click on the row to be deleted and select
Remove Item from the pop-up menu.
Click
Yes for the
Remove dialog box to confirm deletion. The selected row will be deleted.
Changing Text Format
Creating Description Template
Right-click on the
Withdraw Money Use Case and select
Use Case Details... from the pop-up menu to open the
Use Case Details – Withdraw Money editor.
Click on the
Description tab to see the description of the selected use case.
To add a new item into the description, right-click on the right frame of the dialog box and select
Add Item from the pop-up menu. Enter the name of the new item on the
Input dialog box. A new item is created and appended to the end of the use case description.
To remove an item from the description, place the cursor on the row you wish to delete, right-click on the right frame of the dialog box and select
Delete Item from the pop-up menu. Click
Yes for the
Remove dialog box to confirm deletion. For example, removing the
Post-conditions row.
To change the items’ position, place the cursor on the selected item then click the
Move Up button
and Move Down button
from the formatting toolbar on the Use Case Details editor (For example moving up the Remarks item).

To save the modified description as a new template, right-click on the description name on the left frame. Select the
Save as Template on the pop-up menu. Enter the file name for the saved template, and then click
Save button on the dialog box.
Using Description Template
To use the previously created description template to create a new use case description, right-click on the
Description1 on the left frame of the dialog box. Select
New from the pop-up menu. A
New Use Case Description dialog box will appear. Select the
Other radio button and click on the
... button.
Browse the template file from the
Open dialog box, select the desired file then click on the
Open button. A
New Use Case Description dialog box will be re-appeared.
Click on the
OK button on the
New Use Case Description dialog box. A new use case description with the selected template is created.
Related Articles
Resources