UML Diagrams
Use Case Diagram
O/R Mapping
Mac OS X
Tips and Tricks
VP Suite
Change Log

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

  1. 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.
    use_case_details-1.jpg

    Method 2 – Creating a use case diagram from the toolbar:
    Click on the New Use Case Diagram button use_case_details-2.jpg from the toolbar. A new use case diagram will be created.
    use_case_details-3.jpg

    Method 3 – Creating a use case diagram from the Diagram Navigator:
    1. Right-click on the Use Case Diagram from the Diagram Navigator on the left side.
    2. Click on Create Use Case Diagram from the pop-up menu. A new use case diagram will be created.
      use_case_details-4.jpg

  2. 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.
    use_case_details-5.jpg

  3. 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.
    use_case_details-6.jpg

  4. 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.
    use_case_details-7.jpg

  5. 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.
    use_case_details-8.jpg

  6. Click on the Description tab to see the description of the selected use case.
    use_case_details-9.jpg

Creating and Deleting New Use Case Description

  1. 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.
    use_case_details-10.jpg

  2. 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.
    use_case_details-11.jpg

  3. You can delete the description by right-clicking on the description and selecting Delete from the pop-up menu.
    use_case_details-12.jpg

    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.
    use_case_details-13.jpg

Creating and Deleting Flow of Event

  1. 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.
    use_case_details-14.jpg

  2. Enter the name of the new flow of events on the Input dialog box.
    use_case_details-15.jpg

  3. A new flow of events item is created.
    use_case_details-16.jpg

  4. 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.
    use_case_details-17.jpg

    Click Yes for the Remove dialog box to confirm deletion.
    use_case_details-18.jpg

Editing, Adding and Removing Item for Flow of Event

  1. 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.
    use_case_details-19.jpg

  2. 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.
    use_case_details-20.jpg

    A new row will be added, and you can enter the Actor Input or System Response.
    use_case_details-21.jpg

  3. 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.
    use_case_details-22.jpg

    Click Yes for the Remove dialog box to confirm deletion. The selected row will be deleted.
    use_case_details-23.jpg

Changing Text Format

By using the formatting toolbar on the Use Case Details editor, you can change the text format for any selected text on the right frame.
use_case_details-24.jpg

Example 1: Bold the text
use_case_details-25.jpg

use_case_details-26.jpg

Example 2: Change the font type.
use_case_details-27.jpg

use_case_details-28.jpg

Creating Description Template

  1. 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.
    use_case_details-29.jpg

  2. Click on the Description tab to see the description of the selected use case.
    use_case_details-30.jpg

  3. 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.
    use_case_details-31.jpg

    use_case_details-32.jpg

  4. 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.
    use_case_details-33.jpg

  5. To change the items’ position, place the cursor on the selected item then click the Move Up button use_case_details-34.jpg

and Move Down button use_case_details-35.jpg from the formatting toolbar on the Use Case Details editor (For example moving up the Remarks item).
use_case_details-36.jpg

use_case_details-37.jpg

  1. 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.
    use_case_details-38.jpg

    use_case_details-39.jpg

Using Description Template

  1. 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.
    use_case_details-40.jpg

  2. 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.
    use_case_details-41.jpg

  3. Click on the OK button on the New Use Case Description dialog box. A new use case description with the selected template is created.
    use_case_details-42.jpg

    use_case_details-43.jpg

Related Articles

Resources

 
 
Last modified: 2007/03/14 03:00
 
 
Home | Recent Topics | Highlights | UML Diagrams | Tips and Tricks | Object-Relational Mapping
visual-paradigm.com Home | Training Center | UML Center | VP Gallery | Discussion Forum | UML Open Directory