函数调用图插件

Result

updated

函数调用图插件_第1张图片

函数调用图插件_第2张图片

双击foo函数后:

函数调用图插件_第3张图片


就地利用org.eclipse.ptp.pldt.sampleCDTstaticAnalysis/samples下的一些c文件测试生成的call graph效果

Thread

:pserver:[email protected]:/cvsroot/tools/org.eclipse.ptp/tools/org.eclipse.ptp.pldt.sampleCDTstaticAnalysis

Details

MANIFEST.MF:中添加GEF(包括draw2d、gef、zest.core、zest.layout三个插件)

Require
-
Bundle
:
 org
.
eclipse
.
ui
,

org
. eclipse . core . runtime ,
org
. eclipse . cdt . core ,
org
. eclipse . core . resources ,
org
. eclipse . ptp . pldt . common ,
org
. eclipse . ptp . pldt . mpi . analysis ,
org
. eclipse . ptp . pldt . mpi . analysis . cdt ,
org
. eclipse . zest . core ,
org
. eclipse . zest . layouts ,
org
. eclipse . draw2d

plugins.xml:说明Call Graph视图的扩展点

 
<extension

point = "org.eclipse.ui.views" >
<view
category = "org.eclipse.cdt.ui.views"
class = "org.eclipse.ptp.pldt.sampleCDTstaticAnalysis.view.CallGraphView"
icon = "icons/decision.png"
id = "org.eclipse.ptp.pldt.sampleCDTstaticAnalysis.view.CallGraphView"
name = "Function Call Graph" >
</view>
</extension>

根据Zest Turtorial 编写的主要org.eclipse.ptp.pldt.sampleCDTstaticAnalysis.view.CallGraphView

你可能感兴趣的:(eclipse,thread,c,xml,UI)