Eclipse RCP menus & actions: Configure or code?

前端 未结 4 1584
栀梦
栀梦 2020-12-28 20:33

This is a general question but my current problem revolves around menu handling.

In a normal plugin with contributes menu actions you would configure ActionSets etc

4条回答
  •  春和景丽
    2020-12-28 20:59

    If you are writing the RCP application, the good practice is to create the place holders in your ActionBarAdvisor. While that would define the basic structure of your menus and toolbars, you can extend menuContributions and using commands to contribute the actual menu/tool items.

提交回复
热议问题