刚学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 &Menu "
id= "sampleMenu ">
<separator
name= "sampleGroup ">
</separator>
</menu>
<action
label= "&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>