Below is the image to show a Generic class of Type T in the UML Class Diagram.
I could not figure out how to add the T Template Box on top of Generic Class (set in the Image) using Star UML.
Is there any way in Star UML to add this Generic Type T box on top of a Generic class?
For the Derived Classes of this Generic Base Class, I have already added <<bind>>
stereotype with the types that they use.
I'm using version 2.7.0, and you can add
Template Parameter
to the target class to indicate Generics.Details: After you add a
class
or aninterface
, right click the diagram, and then chooseAdd
->Template Parameter
. You can edit the template parameter(or generic type) at the top-right of yourclass
orinterface
.