PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Creating a class diagram
  • Creating a class
  • Adding an attribute
  • Adding an operation
  • Creating a relationship
  • Creating a package
  • Using the packages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
How to proceed?

Creating a class diagram

To create a class diagram:
  1. Select "File .. New .. Architecture .. UML". The wizard for creating a UML model starts.Click among the quick access buttons.
    • In the wheel that is displayed, hover "Architecture" and click "UML". The window for creating a new element is displayed: click "Architecture" then "UML".
    • The wizard for creating a UML model starts.
  2. Select "Class diagram".
  3. Specify the UML model into which the diagram will be inserted.
  4. Choose to edit the diagram directly.
  5. Validate the creation of the class diagram. The created model becomes the current model.
Note: If the creation of a class was requested, the corresponding wizard is automatically started.

Creating a class

To create a class:
  1. Select "Insert .. Class". The wizard for class creation starts.On the "Class diagram" pane, in the "Creation" group, click "Class". The wizard for class creation starts.
  2. Specify:
    • the name of the class. This name will be the name of the corresponding WINDEV class (".WDC" file) when generating the UML model.
    • the caption of the class describing the purpose of the class.
  3. Define:
    • the attributes of the class. These attributes will correspond to the members of the WINDEV class when generating the UML model.
    • the operations of the class. These operations will correspond to the methods of the WINDEV class when generating the UML model.
  4. Validate the description of the class.
Note: If the creation of another class was requested, the corresponding wizard automatically starts.

Adding an attribute

To add an attribute:
  1. Select the class into which the attribute will be added.
  2. Click . The wizard for attribute creation starts.On the "Class diagram" pane, in the "Creation" group, click "Attribute". The wizard for attribute creation starts.
  3. During the generation of the UML model, the attribute will be changed into a member of the WINDEV/WEBDEV class. Its characteristics will become the characteristics of the member according to the following table:
UML classWINDEV class
Name of the attributeName of member
Caption of the attributeComment in the member declaration
Type of the attributeType of the information found in the member
Initial value of the attributeInitial value of the member
Visibility of the attributeVisibility of the member
4. Validate the description of the attribute. The attribute is automatically added to the current class.
Note: The characteristics of an attribute can be modified in the specifications of the class ("Description" from the popup menu of the class).

Adding an operation

To add an operation:
  1. Select the class into which the operation must be added.
  2. Click . The wizard for creating an operation starts.On the "Class diagram" pane, in the "Creation" group, click "Operation". The wizard for creating an operation starts.
  3. When generating the UML model, the operation will become a method of the WINDEV class. Its characteristics will become the characteristics of the method according to the following table:
UML classWINDEV class
Name of the operationName of method
Caption of the operationComment in the declaration of methods
Type of result returned (if the operation returns a result)Type of result returned (if the method returns a result)
Parameters of the operationParameters of the method
Visibility of the operationVisibility of the method
4. Specify the type of the operation: abstract or shared between all the classes.
5. Validate the description of the operation. The operation is automatically added to the current class.
Note: The characteristics of an attribute can be modified in the specifications of the class ("Description" from the popup menu of the class).

Creating a relationship

To create a relationship:
  1. Depending on the type of relationship to create, select:Depending on the type of relationship to create, on the "Class diagram" pane, in the "Creation" group:
    • "Insert .. Generalization" to create a generalization.click "Generalization" to create a generalization.
    • "Insert .. Association" to create an association.click "Association" to create an association.
    • "Insert .. Dependency" to create a dependency.click "Dependency" to create a dependency.
  2. Specify the requested information.
  3. Validate the description of the relationship.

Creating a package

To create a package:
  1. Select "Insert .. Package". A new package appears in the UML model. On the "Class diagram" pane, in the "Creation" group, click "Package". A new package appears in the UML model.
  2. Select "Description" from the popup menu (right mouse click) of the new package. The window for specifying the package is displayed.
  3. Specify:
    • the name of the package. This name is displayed in the package in the UML editor.
    • the caption of the package describing the purpose of the package.
  4. Validate the description of the package.

Using the packages

You have the ability to add classes into a package from the "UML analysis" pane. To do so, Drag and Drop the class to the requested package.
Note: The display of packages in the UML editor ignores the addition of classes into the packages.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment