Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating UML Class Diagrams in NetBeans 7.1.1

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?

like image 877
Ky. Avatar asked Apr 13 '12 18:04

Ky.


People also ask

Can NetBeans create UML diagram?

You can create UML project for any of your Java project in NetBeans. Note that one Java project can associate with at most one UML project and you cannot create UML project without associating it with any Java project. Once you have created a UML project for a Java project, you cannot remove it or de-associate it.

How do I open a UML diagram in NetBeans?

Opening a UML Project In NetBeans, select the Java project where you want to open its UML project. Right click on the project and select Open Visual Paradigm EE from the popup menu.


2 Answers

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..!!

like image 113
Vikky Avatar answered Oct 03 '22 00:10

Vikky


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.

like image 24
blackcompe Avatar answered Oct 03 '22 00:10

blackcompe