问题
I want to install/enable the NetBeans plugin for creating and viewing UML diagrams, as seen here. However, fairly extensive searching has turned up results for NetBeans 6.5 and lower, whereas I am using NetBeans 7.1.1. (I've tried those solutions, though, but to no avail; what they said should be in the IDE was not, such as the Update Manager) Does anyone know how to get NetBeans 7.1.1 to show UML diagrams of Java projects?
回答1:
Netbeans 6.7 was the last version to support UML. For 7.1, there's (1) a semi-broken workaround and (2) yWorks UML Doclet, which will let you generate diagrams. See this for more details.
Edit: You can install the UML plugin manually on 7.1.
回答2:
Here is how to install on 7.1
Add a new configuration to update centers: Tools -> Plugins -> Settings -> Add
As the URL copy the following into the textbox: http://dlc.sun.com.edgesuite.net/netbeans/updates/6.9/uc/m1/dev/catalog.xml
Now on the tab Available Plugins there should be UML in category UML. Install the plugin, and its done..!!
回答3:
How use Visual Paradigm Integrated with Net Beans
http://www.visual-paradigm.com/tutorials/modelinginnetbeans.jsp
来源:https://stackoverflow.com/questions/10146111/creating-uml-class-diagrams-in-netbeans-7-1-1