How can I create a class diagram with NetBeans' 6.8 UML module?

后端 未结 7 1155
慢半拍i
慢半拍i 2021-02-08 01:15

It seems to me the UML module of NetBeans is a bit too much hidden. In NetBeans 6.5 it was very easy to create an UML diagram. No plugin installation necessary or sth. like. Re

相关标签:
7条回答
  • 2021-02-08 01:45

    Visual Paradigm has released a community edition for UML 7.2 which is free for non-commercial use. You can find it at http://www.visual-paradigm.com/download/vpuml.jsp?edition=ce. You have to register for an activation key though!

    0 讨论(0)
  • 2021-02-08 01:48

    I am using a SDE-NB visual paradigm

    0 讨论(0)
  • 2021-02-08 01:51

    With the current 7.2 Netbeans release the capability for UML Sequence and class diagram creation exists with the Visual Paradigm UML tool (version 10). You can get the trial version for 30 days that will do the reverse engineering from the code. Here is a link to the instructions. http://www.visual-paradigm.com/support/documents/vpumluserguide/2381/2384/66565_reverseengin.html ( The community version has this feature but it is disabled).

    0 讨论(0)
  • 2021-02-08 01:53

    Converted to answer: The UML plugin is no longer supported in new versions of NetBeans as stated in the wiki http://wiki.netbeans.org/UML. Not sure why, but that seems to be the case, does not answer your question, but it does put it in context. I could be just slowly breaking which is why both you and the blogger you linked to can't gets things to work.

    0 讨论(0)
  • 2021-02-08 01:59

    cant add comment :-( but just want to confirm what DCraft said:

    the community edition of Visual Paradigm does not support forward or reverse engineering.

    seems the only solution is to use an older version of netbeans

    0 讨论(0)
  • 2021-02-08 02:01

    I have NB 6.9.1. I've installed the UML plugin but it fails to make reverse engineering (create UML class diagram from existing source). I didn't want to downgrade to 6.7, so I installed ArgoUML tool. In order to generate class diagram from existing source you need to follow next steps:

    1. File->Import Sources

    2. Change the Files of Types to "All Files"

    3. Select the directory (where the *.java files are stored) or packages

    4. A small dialog window pop up -> select OK

    5. On the left hand side, you will see UntitledModel. Click on the _classes and they should occur in right in the diagram as little boxes.

    6. To show the attributes/methods, point a class (in the diagram), right click the mouse, select Show->"Show All Compartment"

    0 讨论(0)
提交回复
热议问题