[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]
本文分享了Eclipse插件开发过程中的实践经验,包括确保Action与Menu ID一致性的技巧及ActionSet可见性的设置方法。
1323

被折叠的 条评论
为什么被折叠?



