Hello,
I'd like to draw class diagram like this:
<<interface>> Animal
Animal interface has two methods: doSomething(), eat()
Dog class is realized with Animal interface
I am drawing like this as a temporary measure with StarUML
Is it right way?
- Draw 'Dog' class
- Copy operators of 'Animal' interface
- Paste operators copied to 'Dog' class
please tell me there is better anbd awesome way in StarUML.
In Enterprise Architect tool, it can be possible. But I want to draw Class Diagram with StarUML because of familiarity.
This is gif file to draw class having interface method with Enterprise Architect:
In StarUML, there is no action. It just makes 'Dog' class.
This is gif file to draw 'Dog' class with StarUML:
This is my way to draw 'Dog' class:
- Draw 'Dog' class
- Copy operators of 'Animal' interface
- Paste operators copied to 'Dog' class
This is gif file to draw 'Dog' class having Animal interface methods: