Generating UML diagrams using NetBeans 7.2

2019-03-19 09:24发布

问题:

I found this link:

http://wiki.netbeans.org/NetbeansUML

for generating UML diagrams from existing code; admitedly using NetBeans 5.5.

I followed the outlined procedure but just get an empty -Model project.

Does the "Reverse Engineer..." method not work in NetBeans 7.2? If not then why isn't it disabled?

Thanks

Graham

回答1:

After successfully installing easyUML plugin, do the following steps in Netbeans IDE:

  • File->New Project->UML->UML Diagrams Project
  • Rightclick on your Java Project in the project structure window->choose "easy UML create class diagram"
  • Refer to your UML project

Et voila!



回答2:

No, the NetBeans UML is only available for NB 6.7 and earlier releases. See here for more informations.

Alternatives:

  • Visual Paradigm: SDE for NetBeans
  • JDeveloper

Both are listed at the NB UML website.



回答3:

There is very useful plugin for NetBeans for generating UML diagrams called EasyUML.

http://plugins.netbeans.org/plugin/55435/easyuml