Working with Use Case Diagram¶
To create a Use Case Diagram:
- Select first an element where a new Use Case Diagram to be contained as a child.
- Select Model | Add Diagram | Use Case Diagram in Menu Bar or select Add Diagram | Use Case Diagram in Context Menu.
In Use Case Diagram, you can use following elements.
- Package
- Use Case Subject
- Actor
- Use Case
- Extension Point
- Association
- Dependency
- Generalization
- Include
- Extend
See also
- UML Use Case Diagram
- For more information about UML Use Case Diagram.
Use Case Subject¶
To create an Use Case Subject:
- Select Use Case Subject in Toolbox.
- Drag on the diagram as the size of Use Case Subject.
Actor¶
To create an Actor:
- Select Actor in Toolbox.
- Drag on the diagram as the size of Actor.
To create an Actor (model element only) by Menu:
- Select an Element where a new Actor to be contained.
- Select Model | Add | Actor in Menu Bar or Add | Actor in Context Menu.
To edit an Actor, you can do following actions:
- Use Quick Edit for Classifier by double-click or press
Enter
on a selected Actor. - Add Attribute - See Attribute
- Add Operation - See Operation
To suppress Attributes, see Suppress Attributes.
To suppress Operations, see Suppress Operations.
To hide Operation signatures, see Show Operation Signature.
Use Case¶
To create an Use Case:
- Select Use Case in Toolbox.
- Drag on the diagram as the size of Use Case.
To create an Use Case (model element only) by Menu:
- Select an Element where a new Use Case to be contained.
- Select Model | Add | Use Case in Menu Bar or Add | Use Case in Context Menu.
To edit an Use Case, you can do following actions:
- Use quick-edit-usecase by double-click or press
Enter
on a selected Use Case. - Add Extension Point - See Extension Point.
To suppress Attributes, see Suppress Attributes.
To suppress Operations, see Suppress Operations.
To hide Operation signatures, see Show Operation Signature.
Extension Point¶
To add an Extension Point:
- Select an Use Case.
- Select Model | Add | Extension Point in Menu Bar or Add | Extension Point in Context Menu.
To edit an Extension Point, you can do following actions:
- Use Quick Edit for Extension Point by double-click or press
Enter
on a selected Extension Point.
Include¶
To create an Include:
- Select Include in Toolbox.
- Drag from a Use Case and drop on another Use Case (to be included).
Extend¶
To create an Extend:
- Select Extend in Toolbox.
- Drag from a Use Case (to be extended) and drop on another Use Case.