[size=medium]这里主要记录我在学习Eclipse插件开发中遇到的一些问题.
[/size]
[size=medium]1.action中的设值menubarpath的位置必须与menu里的id一致;如这里的id是[color=red]showMenu[/color],action中的menubarPath设值为[color=red]showMenu[/color]/showGroup(separator).
[/size]
[img]http://dl.iteye.com/upload/attachment/375687/69c50249-a966-383f-9712-c80aca3ad2cd.png[/img]
[img]http://dl.iteye.com/upload/attachment/375693/5f141685-46e3-3af2-91d6-5258605ac3e6.png[/img]
[size=medium]2.actionSet中的visible属性必须设值为true,否则action中不会显示.
[/size]
[img]http://dl.iteye.com/upload/attachment/375691/3121ea71-1cc2-3a55-8535-522222cd8431.png[/img]
运行后的结果:
[img]http://dl.iteye.com/upload/attachment/375695/523cafd4-27b1-3f2a-8b87-3867a359a23f.png[/img]
[/size]
[size=medium]1.action中的设值menubarpath的位置必须与menu里的id一致;如这里的id是[color=red]showMenu[/color],action中的menubarPath设值为[color=red]showMenu[/color]/showGroup(separator).
[/size]
[img]http://dl.iteye.com/upload/attachment/375687/69c50249-a966-383f-9712-c80aca3ad2cd.png[/img]
[img]http://dl.iteye.com/upload/attachment/375693/5f141685-46e3-3af2-91d6-5258605ac3e6.png[/img]
[size=medium]2.actionSet中的visible属性必须设值为true,否则action中不会显示.
[/size]
[img]http://dl.iteye.com/upload/attachment/375691/3121ea71-1cc2-3a55-8535-522222cd8431.png[/img]
运行后的结果:
[img]http://dl.iteye.com/upload/attachment/375695/523cafd4-27b1-3f2a-8b87-3867a359a23f.png[/img]