Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse plugin for generating a class diagram [closed]

People also ask

Can we generate class diagrams in Eclipse?

When your Eclipse IDE restarts, this is how you can create a Class diagram for one of your projects. 1. On the Project Explorer, Right Click on the Project's name -> New -> Other. On the pop up box, start typing Class Diagram in the Wizards text field.

How do you create a class diagram automatically?

To build a class diagram, all you have to do is launch the Smartdraw's Automatic Class Diagram extension and point it at your repository. Load your source code and choose which files you want to include in your diagram. Click "Build Diagram" and you're done.

How do you show protected in class diagram?

Protected − A protected member is visible from within the class and from the subclasses inherited from this class, but not from outside. It is prefixed by the symbol '#'.


Assuming that you meant to state 'Class Diagram' instead of 'Project Hierarchy', I've used the following Eclipse plug-ins to generate Class Diagrams at various points in my professional career:

  • ObjectAid. My current preference.
  • EclipseUML from Omondo. Only commercial versions appear to be available right now. The class diagram in your question, is most likely generated by this plugin.

Obligatory links

The listed tools will not generate class diagrams from source code, or atleast when I used them quite a few years back. You can use them to handcraft class diagrams though.

  • UMLet. I used this several years back. Appears to be in use, going by the comments in the Eclipse marketplace.
  • Violet. This supports creation of other types of UML diagrams in addition to class diagrams.

Related questions on StackOverflow

  1. Is there a free Eclipse plugin that creates a UML diagram out of Java classes / packages?

Except for ObjectAid and a few other mentions, most of the Eclipse plug-ins mentioned in the listed questions may no longer be available, or would work only against older versions of Eclipse.


Must it be an Eclipse plug-in? I use doxygen, just supply your code folder, it handles the rest.


Try Amateras. It is a very good plugin for generating UML diagrams including class diagram.


Try eUML2. its a single click generator no need to drag n drop.