StarUML Class Diagram: How to manually add Generics (Template Type T) for a class

Below is an image showing the generic Type T class in the UML class diagram.

I could not figure out how to add the T Template Box on top of the Generic Class (Install in Image) using Star UML.

Is there any way in Star UML to add this generic type T to the Generic class?

For the derived classes of this base base class, I have already added <bind β†’ stereotype with the types that they use.

enter image description here e.

+5
source share
1 answer

I am using version 2.7.0 and you can add a Template Parameter to the target class to indicate Generics.

Details After adding a class or interface right-click the chart, and then select Add β†’ Template Parameter . You can edit the template parameter (or general type) in the upper right corner of your class or interface .

+6
source

All Articles