I have an actor called X. This actor is connected to the Use Case: View inventories. There is also a Use Case called View items. While viewing inventories the actor can choose to view the items belonging to a inventory.
In this case: Should the View items Use Case extend the View inventories? Because it's optional for the actor to view the items while seeing all the inventories? Or should both use cases simply get connected to the actor and not each other?
In UML 2 and the unified process it's stated that Extension use cases generally at note complete use cases and therefore can't be instantiated. I'm really confused in my situation.
Here a simpeler view:
Use case: View inventories
extend----> View items
You can't view items without first choosing a specific inventory from the view inventories use case. This is optional.
use case: View items
extend----> Add item extend----> remove item
You have to view the items from a specific inventory before you can add or remove items. This is optional.