如何为 Eclipse 安装 UML 插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8913400/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:50:55  来源:igfitidea点击:

How to install UML plugin for Eclipse?

eclipseeclipse-pluginuml

提问by Omid Nazifi

I'm programming with Eclipse and I wanna use UML diagrams in Eclipse Indigo. I try to install either UML2or UML2 Toolsplugins but I don't succeed.

我正在使用 Eclipse 进行编程,我想在Eclipse Indigo 中使用 UML 图。我尝试安装UML2UML2 工具插件,但没有成功。

By the way, I downloaded ZIP files of EMF, XSD, UML2 SDK, UML2 Tools and extracted them then copy their files into plugins and features folders. I see installed files in Eclipse but I can't yet work with it.

顺便说一下,我下载了 EMF、XSD、UML2 SDK、UML2 工具的 ZIP 文件并解压缩它们,然后将它们的文件复制到插件和功能文件夹中。我在 Eclipse 中看到已安装的文件,但我还不能使用它。

I don't know what should I do. Could you tell me, please?

我不知道我该怎么办。请你告诉我好吗?

采纳答案by ChrisH

The easiest way to get a version of Eclipse with all the UML plugins is to download the Eclipse Modeling Tools distribution from this page.

获得带有所有 UML 插件的 Eclipse 版本的最简单方法是从此页面下载 Eclipse Modeling Tools 发行

回答by Volker Stolz

If you only have downloaded the "plain" Eclipse Classic (and not EMT as @ChrisH suggested), go to Help->Install Modeling Componentsand install "Papyrus" that should get you started with UML.

如果您只下载了“普通”Eclipse Classic(而不是@ChrisH 建议的 EMT),请转到Help->Install Modeling Components并安装“Papyrus”,它应该可以让您开始使用 UML。

回答by Eshika

Insert Eclipse Indigo update site in Install new Software -->Modelling. There you will see one category named as modelling.Expand it & choose UML & then follow the procedure.

在安装新软件 --> 建模中插入 Eclipse Indigo 更新站点。在那里您将看到一个名为建模的类别。展开它并选择 UML,然后按照程序进行操作。

回答by robWDC

I've installed the Luna version of Eclipse Modeling https://www.eclipse.org/downloads/packages/eclipse-modeling-tools/lunarand the "EMF Generator Model" wizard is not found under the Eclipse Modeling Framework. I've reviewed the Luna documentation to see if the generator is embedded or moved to a different package. I also installed Papyrus and all of the EMF related packages that were not installed and restarted. No luck yet.

我已经安装了 Eclipse 建模https://www.eclipse.org/downloads/packages/eclipse-modeling-tools/lunar的 Luna 版本,并且在 Eclipse 建模框架下找不到“EMF 生成器模型”向导。我已经查看了 Luna 文档以查看生成器是否已嵌入或移动到不同的包。我还安装了 Papyrus 和所有未安装并重新启动的 EMF 相关软件包。还没有运气。

enter image description here

在此处输入图片说明