I'm just using StarUML to create my UML Class diagram and something is bothering me. I create an interface representation, which is a circle, however, there is no room to add which methods and attributes the interface defines. Is this normal UML practice?
If not, how do you know (say a class implements this interface and has 4 methods defined) which of the 4 methods came from the interface and which didnt?
Solved:
Ok just incase someone else has this problem- there are two notations, both are possible in StarUML but only one explicitly (the dot notation). To create the <> notation, enter the name as <> IInterface_Name and then draw a realisation line between the implementing classes. Be sure to manually delete the old (wrong) relationship you had by right clicking the class, collection editor and then relations.
In order to create Interface, Click [Toolbox] -> [Component] -> [Interface] button. Click at the position where Interface will be placed in the [main window]. At the quick dialog, enter interface name.
To show or hide Toolbox, press Ctrl+5 or check (or uncheck) View | Toolbox in Menu Bar.
StarUML™ supports 11 UML diagram types. The user can freely create and manage different diagrams as needed.
It is very simple:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With