- Download CRC Recreation Club.vpp. You can also find this file at the bottom of this tutorial.
- Open the downloaded .vpp file in Visual Paradigm. To open a project, select Project > Open from the application toolbar.
-
Open the use case diagram CRC Recreation Club Use Case Diagram and take a look.
To facilitate internal communication and ease of documentation, we want to give those use cases a special code. But due to the design will be reviewed by the end user, we do not want to add the code directly on diagram. To solve this problem, we can make use of nickname. - Select Modeling > Nicknames > Configure Nicknames... from the main menu.
- Click Add in the Configure Nickname window. Enter Internal as name and click OK. Click OK in configure window to go back to diagram.
- Now, the model is under the nickname set Internal. To prove this, take a look at the menu Modeling > Nickname and you should see the drop down menu as shown below.
- Now, we can rename the use cases freely. Let's append code U1, U2 and U3 to use cases Workout, Play Mahjong and Apply for Membership. The same action can be done for any other kinds of model element. But in this tutorial we just focus on use case for simplicity.
- Further to the names, we can also provide nickname-specific documentation. Open the specification of use case U1 - Workout first. Right-click on it and select Open Specification... from the popup menu.
- In the documentation pane, add development level content as shown in the image below.
- Edit also the documentation of other use cases.
- The changes we have made so far were all under the Internal nickname. If we want to carry on with the original content, switch back to the Original nickname. Select Original from the nickname drop down menu.
- You can immediately see that U1, U2 and U3 are gone.
- Let's check the documentation. Those internal text written under Internal nickname set are gone as well.
- If you switch to Internal nickname again, those internal content will be back. With this, you can define another set of model, like internal in this case, without affecting the primary one.