Use Case models edition

The following Table shows the UCEd representation of use case model element types, the icon associated with each of the elements in the editor, and the type of their possible children.

Table 4.1: UCEd representation of use case model elements.
Use Case model element types Icon Possible children
Normal Use Case \epsfbox{NormalUseCase.eps} Include Relation
Extend Use Case \epsfbox{ExtendUseCase.eps} Include Relation, Extend Relation
Include Relation \epsfbox{IncludeRelation.eps}  
Extend Relation \epsfbox{ExtendRelation.eps} Extend Relation Condition
Extend Relation Condition \epsfbox{ExtendRelationCondition.eps}  
Actor \epsfbox{Actor.eps}  


Figure 4.5: Example of UCEd use case model.
\begin{figure}\centering
\epsfxsize =5.4in
\epsfbox{ucedUCMod1.eps}
\end{figure}

Use case model edition, domain edition, and scenario model edition are similar.

A use case model can be edited by left-clicking on an element in the viewing area, and then right-clicking to bring a context dependent menu that allows operations on the selected element. As an example, the menu for an Extension Use Case includes:

New Normal Use Case
to add a Use Case to the use case model.
New Extend Use Case
to add an Extension Use Case to the use case model.
New Actor
to add an Actor to the use case model.
Add Include Relation to Extend Use Case
to add an Include relation as a child of the selected use case.
Add Extend Relation to Extend Use Case
to add an Extend relation as a child of the selected use case.
Delete Extend Use Case
to delete the selected use case from the model.

A use case model may also be edited using key combinations. For instance if the selected line refers to a Normal Use Case:

CTRL+
inserts a new normal use case after that normal use case.
CTRL-
deletes the selected normal use case with its description.
CTRL$\rightarrow$
indent the use case if it is not on the first line and if it has no description. The use case is transformed to an Include Relation, which is the child of the preceding use case.
CTRL$\leftarrow$
has no effect.
CTRL$\uparrow$
forwards the selected normal use case by changing its type to an Extension Use Case.
CTRL$\downarrow$
backwards the selected use if it has no description, by changing its type to an Actor.

Stephane 2007-09-03