从eclipse插件调用调用层次结构 [英] Invoking call hierarchy from eclipse plug in
本文介绍了从eclipse插件调用调用层次结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在想,如果我可以使用eclipse cal层次结构。但不知道如何调用此命令。有人可以帮助我,谢谢提前
解决方案
看看 OpenCallHierarchyAction 类org.eclipse.jdt.ui.internal.callhierarchy包。这是内部的Eclipse源代码,但运行中的代码(ITextSelection选择)方法应该对你很有趣。
I want to write an eclipse plugin which can take a list of class names and return me a table of classes where they are being referenced in a given project. I was thinking if i can use eclipse cal hierarchy. But not sure how to invoke this command. could someone help me with this, Thanks in advance
解决方案
Have a look at the OpenCallHierarchyAction class of the org.eclipse.jdt.ui.internal.callhierarchy Package. This is internal Eclipse source code, but the code in the run(ITextSelection selection) method should be interesting to you.
这篇关于从eclipse插件调用调用层次结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文