How to generate class diagrams from existing code?

Hi,

I am evaluating VP and I am trying to generate class diagrams for the existing classes I have. When I select on the existing java project or java classes under the project in eclipse, update UML Model and select UML Model are disabled.

How do I generate class diagrams for existing java classes in project?

Thanks.

And I am evaluating SDE Standard edition for eclipse-websphere…

Hi Krishna,

The SDE standard edition does not have code reverse engineering.

Visit the following website for a comparison between the editions:
http://www.visual-paradigm.com/sdeecFeatureList.php

Thanks for your evaluate.

mercus

Hi

I downloaded and installed professional Edition version 3.0.
i am new to this tool.
Can i generate class diagram with existing code(reverse engineering)

Regards,

Shashi

Hi,

There has serveral ways to perform reverse engineering.

  1. Generate class diagram with existing code in existing VPUML project
    This feature is available in Visual Paradigm for UML. You may have reference here:
    http://www.visual-paradigm.com/content/product/vpuml/vpumlUserGuide/html/c9.html#_Toc62033359

  2. Generate class diagram with existing code when create new VPUML project
    This feature is available in Visual Paradigm for UML. You may have reference here:
    http://www.visual-paradigm.com/content/product/vpuml/vpumlUserGuide/html/c4.html#_Toc62033125

  3. Generate class diagram with existing code using SDE for Eclipse
    SDE is an integrated environment for handling code and uml diagram better.
    Using reverse engineering in SDE, you may have reference here:
    http://www.visual-paradigm.com/content/product/sde/sdeec/sdeecUserGuide/html/c3.html#_Toc60653602


P.S.
VPUML Professional Edition has full support of code engineering (including reverse engineering).
But VPUML Standard Edition and evaulation of VPUML Professional Edition have limitation about it.

About SDE for Eclipse, Code engineering is only available in SDE for Eclipse Professioanl edition.

To have more reference, here is the tutorial for how to use code reverse engineering in VPUML
http://www.visual-paradigm.com/content/product/vpuml/html_tutorial/html_CodeReverseEngineeringTutorial.htm#_Toc504900183

Mercus

Mercus :~

This is not what the help file says. Quote:

Code Engineering CE SE PE

Real-Time Code Synchronization x x x
Java Code Generation # # x
Java Reverse Engineering % % x
Java Language Syntax Check % % x

(# and % meaining “available but with restrictions”)

Unquote. How come? Isn’t it rather ironic that people who simply need the code-to-UML feature out of this product just do not get it unless they pay for a PE? Come on…

-Garfae