Eclipse 插件的组件图
我需要为 Eclipse 插件绘制组件图,但我不知道该怎么做。
我发现此图。我想我可以使用 UML 2 符号为我的插件绘制类似的东西,用我的插件的名称替换“你的工具”,用我的插件使用的插件的名称替换“他们的工具”。
你怎么认为?非常感谢!
PD:是的,我读过有关组件图的内容,但我真的迷失了方向。
编辑:例如:我正在使用 Xtext、Xpand 和 MySQL 开发一个插件,所以我想我的组件将是:MyPlugin、Xtext、Xpand、MySQL 和 Eclipse 本身。正确吗?
现在,连接其他组件的 Xtext 或 Eclipse 接口是什么?
I need to draw a component diagram for an Eclipse plugin, but I'm not sure how to do that.
I found this diagram. I think I could draw something similar using the UML 2 notation for my plugin, replacing "Your tool" with the name of my plugin and "Their tool" with the name(s) of the plugin(s) my plugin uses.
What do you think? Thank you very much!
PD: Yes, I have read about component diagrams, but I'm really lost here.
Edit: for example: I'm developing a plugin using Xtext and Xpand and MySQL, so I guess my components would be: MyPlugin, Xtext, Xpand, MySQL and Eclipse itself. Is it correct?
Now, what would be a Xtext or Eclipse interface to connect to other components?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来您不是 UML 专家,因此您可以尝试 UMLet。这是非常非常基本且简单的,并且可以在几分钟内创建组件图。
对于更高级的需求,我建议使用不仅具有图形编辑器而且还具有 UML 模型的工具,例如 Topcased 或 Papyrus。
对于非常高级的需求,我会推荐 RSA IBM。如果您需要类图和java代码生成,推荐使用Omondo。
It seems that you are not an UML expert therefore you could try UMLet. This is very very basic as well as simple and would create component diagrams in few minutes.
For more advance needs I would recommend to use a tool having not only a graphical editor but also an UML model such as Topcased or Papyrus.
For very advanced needs I would recommend RSA IBM. Omondo is recommended if you have the need for the class diagram and java code generation.