如何使用 NetBeans 创建类图? 6.8 UML模块?

发布于 2024-08-18 19:41:24 字数 505 浏览 4 评论 0原文

在我看来,NetBeans 的 UML 模块隐藏得有点太多了。在 NetBeans 6.5 中,创建 UML 图非常容易。无需安装插件或其他东西。喜欢。 阅读我的帖子我在其中找到了一个用于安装 UML 模块的 zip 文件。

现在,在这个过程之后,我得到了 UML 模块,但在我看来,我无法用它创建类图。您知道如何使用 NetBeans 6.8 做到这一点吗?

Update1:似乎没有支持

Update2:不过有人似乎让它工作了。

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.
Read my post where I found a zip file to install the UML module.

And now, after this procedure, I got the UML module back, but it seems to me that I cannot create class diagram with it. Do you know how I can do this with NetBeans 6.8?

Update1: There seems to be no support

Update2: Nevertheless somebody seems to got it working.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

枫以 2024-08-25 19:41:24

转换为答案:新版本的 NetBeans 不再支持 UML 插件,如 wiki http://wiki 中所述.netbeans.org/UML。不知道为什么,但似乎是这样,并没有回答你的问题,但它确实把它放在了上下文中。我可能只是慢慢地崩溃,这就是为什么你和你链接的博主都无法让事情发挥作用。

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.

萌逼全场 2024-08-25 19:41:24

Visual Paradigm 发布了 UML 7.2 的社区版本,可免费用于非商业用途。
您可以在 http://www.visual-paradigm.com 找到它/download/vpuml.jsp?edition=ce。不过,您必须注册激活密钥!

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!

还在原地等你 2024-08-25 19:41:24

无法添加评论:-(但只是想确认 DCraft 所说的:

Visual Paradigm 的社区版不支持正向或反向工程。

似乎唯一的解决方案是使用旧版本的 netbeans

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

_失温 2024-08-25 19:41:24

在当前的 7.2 Netbeans 版本中,Visual Paradigm UML 工具(版本 10)提供了创建 UML 序列和类图的功能。您可以获得 30 天的试用版,该版本将通过代码进行逆向工程。这是说明的链接。 http://www.visual-paradigm.com/support /documents/vpumluserguide/2381/2384/66565_reverseengin.html(社区版本有此功能,但已禁用)。

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

握住你手 2024-08-25 19:41:24

如果您访问此处并下载UML 模块集群,您只需将其复制到 NetBeans 安装目录中,然后 NetBeans 将再次具有 UML 功能!

如果您不想浏览模块集群页面,则直接下载链接为 此处

If you go here and download the UML module cluster you can simply copy it into the NetBeans install directory and then NetBeans will have UML functionality again!

If you don't feel like looking through the page of module clusters the direct download link is here.

软糯酥胸 2024-08-25 19:41:24

我正在使用 SDE-NB 视觉范例

I am using a SDE-NB visual paradigm

空城仅有旧梦在 2024-08-25 19:41:24

我有 NB 6.9.1。我已经安装了 UML 插件,但无法进行逆向工程(从现有源创建 UML 类图)。
我不想降级到6.7,所以我安装了ArgoUML工具。
为了从现有源生成类图,您需要执行以下步骤:

1. 文件 -> 导入源

2. 将文件类型更改为“所有文件”

3. 选择目录(*.java 文件所在的位置)或包

4. 弹出一个小对话框 ->选择“确定”

5。 在左侧,您将看到 UntitledModel。单击 _classes,它们应该以小框的形式出现在图表的右侧。

6. 要显示属性/方法,请指向一个类(在图中),右键单击鼠标,选择 Show->“Show All Compartment”

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"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文