IntelliJ IDEA moving forward with UML?

From the IntelliJ IDEA help system on UML:

Forward engineering , which allows you to create and create visual models and populate it with node elements, members, and relationships. IntelliJ IDEA automatically generates source code and keeps it in sync with the model.

... but it does not tell you how to do it. I know how to show the UML diagram for existing classes (right-click on the class file from the Project window, select Charts> Show Chart.

What I want to do is the opposite: create UML class diagrams and create method stubs from these diagrams.

+4
source share
1 answer

If you want to do this, I think you need to click on the display diagram in a specific source folder or package, and then right-click on the diagram, and you will have the opportunity to create classes or interfaces. When you right-click on a class, it will also be possible to create methods and fields in this class.

So, find the show diagram, then right-click and use the context menu to create classes / methods, etc.

+1
source

All Articles