Cursussen/Courses Codesnippets     Top 
UML class diagram - Operations


1. Properties
When you open the “Properties” of the class framework in the WhiteStarUML environment you can call up a specific “Collection Editor” window for the attributes or for the operations. Click on the button with the 3 dots.


2. Add operation
If you click on the red button you can add an operation.


3. Rename
If you have not entered the name immediately, you can still right-click to click on the entry “Edit” in the context menu.


4. Select operation
Click on the operation name to select the operation. If the operation name does not appear in the “Properties” window, you can temporarily add a second operation and click back on the first operation name.


5. Parameters collection
In the “Properties” window you can open the “Parameters” collection by clicking the button with the 3 dots. In the “Collection Editor” you can now enter parameters for the operation (in this case “geeftles”).


6. Example
The class “Leraar” now has the operation “geeftles(vak)”.


7. Class example
An example of the “Leraar” class.