当前位置: 代码迷 >> Eclipse >> 求Eclipse3.2.2下开发最简单的插件helloworld的plugin.xml文件样本?该如何解决
  详细解决方案

求Eclipse3.2.2下开发最简单的插件helloworld的plugin.xml文件样本?该如何解决

热度:27   发布时间:2016-04-23 15:01:42.0
求Eclipse3.2.2下开发最简单的插件helloworld的plugin.xml文件样本?
刚学Eclipse插件开发,在网上看了些资料,程序已运行成功,但在Eclipse的show   view   中总是找不到新插件的视图,估计是plugin.xml的问题,求哪位大虾给份求Eclipse3.2.2下开发最简单的插件helloworld的plugin.xml文件样本

------解决方案--------------------
我的Helloworld里没有用新视图,只是加一个工具栏按钮。
<?xml version= "1.0 " encoding= "UTF-8 "?>
<?eclipse version= "3.2 "?>
<plugin>

<extension
point= "org.eclipse.ui.actionSets ">
<actionSet
label= "Sample Action Set "
visible= "true "
id= "JavaAnalysis_Frame.actionSet ">
<menu
label= "Sample &amp;Menu "
id= "sampleMenu ">
<separator
name= "sampleGroup ">
</separator>
</menu>
<action
label= "&amp;Sample Action "
icon= "icons/tools.png "
class= "javaanalysis_frame.actions.SampleAction "
tooltip= "AST Through "
menubarPath= "sampleMenu/sampleGroup "
toolbarPath= "sampleGroup "
id= "javaanalysis_frame.actions.SampleAction ">
</action>
</actionSet>
</extension>
</plugin>
  相关解决方案