Baran Topal

Baran Topal


April 2024
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
2930  

Categories


RSA class diagram

baranbaran

Since, we have to establish harmony; we are using RSA while forming the class diagrams in 251 course content, while creating class diagrams.

So, I have to find a way to tweak the RSA and show the input parameters and return types.

The tweak is hard to find so I prepared this guide for the sake of 251 and 359 students.

  1. First of all, make sure that the operation signature is visible for your class. To do so, right click on your class, click Filters and make sure the option Show Signature is enabled as below:



     

  2. You can also choose to show the operation’s signature by default, by enabling it in the Window -> Preferences… -> Modeling -> Diagrams -> Appearance -> Shapes -> Show signatures as shown in the screenshot below. Keep in mind, however, that this option will only be applied on new elements.



     

    Above tweak is not that hard but the below tweak to show the return types indeed hard to find. I don’t understand why IBMers did so.

     

    You can show the return type by one of the following ways:

     

  3. In the Window -> Preferences -> Java -> Appearance, select Show method return types.



  4. In the Preferences -> Modeling -> Java, select UML Notation as the Java operation display style.



     

    Voila!

 

Comments 0
There are currently no comments.