eclipse 如何使用papyrus从android项目生成类图

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15550889/
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-19 20:13:28  来源:igfitidea点击:

How to generate a class diagram from android project using papyrus

androideclipsepapyrus

提问by user2137817

I installed papyrus on eclipse in order to generate the class digram of a android application i worked on but i can't find how to generate that. I searched on the net, i only found how to create a new project from scratch and not what i'm looking for .

我在 eclipse 上安装了 papyrus 以生成我使用的 android 应用程序的类图,但我找不到如何生成它。我在网上搜索,我只找到了如何从头开始创建一个新项目,而不是我正在寻找的。

Thank you

谢谢

回答by VonC

I don't think Papyrus alone would do reverse engineering of Java Code: it is more oriented around Java code generation from UML model.
You have some plugins for reverse, not necessarely maintained though.

我不认为 Papyrus 会单独对 Java 代码进行逆向工程:它更侧重于从 UML 模型生成 Java 代码。
您有一些用于 reverse 的插件,但不需要维护。

However, from this post, using payrus in additionof Modiscocould be closer of what you are looking for. See Modisco wiki, and this step-by-step thread.

但是,从这篇文章中除了Modisco之外使用payrus可能更接近您正在寻找的内容。请参阅Modisco wiki和此分步线程



The OP user2137817offersanother alternative: objectaid:

OP user2137817提供另一种选择:objectaid

The ObjectAid UML Explorer is an agile and lightweight code visualization tool for the Eclipse IDE. It shows your Java source code and libraries in live UML class and sequence diagrams that automatically update as your code changes.
The image below is a class diagram of actual source code:

ObjectAid UML Explorer 是一个用于 Eclipse IDE 的敏捷、轻量级的代码可视化工具。它在实时 UML 类和序列图中显示您的 Java 源代码和库,它们会随着您的代码更改而自动更新。
下图是实际源码的类图:

objectaid

对象援助