NetBeans and UML Model


I have been trying to use Eclipse to generate UML diagram from existing project, and found many tools and do not know which one is the best.
Switch to Netbeans, it makes the job simple.
1. Install UML tool plugin into Netbeans,
  • Go to tools, plugins, from the Available Plugins panel search UML.
  • Following the instructions to install.
2.  Build a new UML project
  • New Project, UML and select Reverse Engineered Java-Platform Model
  • In the next screen, name your project and choose which  Java Project you want to use to produce the UML model
  • Also select the packages from the list
image
3. In the newly constructed UML project, right click the Diagrams node select new—>Diagram—> select the diagram you want to construct.
  • Here I use Class Diagram.
  • Drop the classes from the Model node into the newly constructed Class Diagram and the system will build the class diagram and relations for you automatically.
image
 Class Diagram 1
4. From the toolbar select Export Image  to save the produce UML diagram.

No comments:

Post a Comment

Datatable static image not found on the server

When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...