Identifying Classes from Problem Statements
In VP-UML, identifying classes from problem statements can be easily performed by dragging and dropping the highlighted word in the textual analysis to the candidate class window.
You can also easily create the designated models for each candidate class and can simply use the models for creating the class diagrams and use case diagrams.
Creating Textual Analysis
Create a textual analysis by any of these 3 methods listed below.
Method 1 - Creating a textual analysis from the menu bar:
On the menu, select
File > New Diagram > Requirements Capturing > Textual Analysis. A new textual analysis will be created.
Method 2 – Creating a textual analysis from the toolbar:
Click on the
New Textual Analysis button

from the toolbar. A new textual analysis will be created.
Method 3 – Creating a textual analysis from the Diagram Navigator:
On the
Diagram Navigator, right-click Textual Analysis, select Create Textual Analysis from the pop-up menu. A new textual analysis will be created.
Add new problem statements into the text pane by any of these 3 methods listed here:
Method 1 – By typing directly into the text pane:
Click on the text pane, and type the problem statements in the text pane.
Method 2 – By copying and pasting text from the system clipboard:
You can copy the problem statements from any text into the clipboard then paste it to the text pane using the
Paste 
button on the diagram palette.
Method 3 – By importing the text file:
Click on
Import Text File icon on the diagram palette. Select the text file that contains the problem statement at the pop-up dialog box. Click on the
Open button in the dialog box to import the file (for example import file
CCRentals). The problem statement is imported to the Textual Analysis text pane.
Identifying Candidate Classes for Creating Class Diagrams
Create candidate class by highlighting the word in the textual analysis, dragging and dropping it to the window on the right. For example
limousines and
gasoline are the candidate classes. The candidate classes’ details are automatically created in the candidate list table.
Right-click on the created classes, click on
Create Class Model from the pop-up menu to create the class models.
Open
Class Repository tree, the
limousines and
gasoline are created in the repository.
Create a new class diagram. Drag those 2 classes from the class repository to the class diagram.
Limousines and
Gasoline classes are created in the class diagram.
Identifying Actor and Use Case Candidate Classes for Creating Use Case Diagrams
Create an actor candidate class by highlighting the word in the textual analysis, dragging and dropping it to the window on the right. For example customers is an actor candidate class.
Right-click on the
Customers candidate class and select
Actor from the pop-up menu to change the candidate class type to actor candidate class.
Right-click on the customer class, click on
Create Actor Model from the pop-up menu to create the actor model.
Create a use case candidate class by highlighting the word in the textual analysis, dragging and dropping it to the window on the right. For example
select a car is a use case candidate class.
Right-click on the
select a car candidate class and select Use Case from the pop-up menu to change the candidate class type to use case candidate class.
Right-click on the
select a car class, click on
Create Use Case Model from the pop-up menu to create the use case model.
Open the model tree, the
Customers actor model and
select a car use case model is created in repository.
Create a new use case diagram. Drag the
Customers actor model and
select a car use case model to the use case diagram.
Customers actor and
select a car use case are created in the use case diagram.

Related Articles
Know more about Use Case Details editor supporting use case description
Use Case Details
-
-
-
-
-
Resources