title: Eclipse RCP menus & actions: Configure or code?
body: <p>This is a general question but my current problem revolves around menu handling. </p>
  
  <p>In a normal plugin with contributes menu actions you would configure ActionSets etc in the plugin.xml configuration. This is obviously sensible.</p>
  
  <p>I am working on a RCP application (actually RAP) and I'm wondering if it's worth the effort to configure everything via plugin.xml. My plugin does not have to interact with an other unknown plugins so, theoretically, I have control. I can add menus and actions programmatically.</p>
  
  <p>I have been trying to configure a menu which contains a submenu. I have tried defining ActionSets and linking one inside the other but without success. Some items need to be disabled depending on the user role.</p>
  
  <p>I figure I could have coded the whole lot in a few minutes but I'm not sure if that fits with the eclipse 'ethos'.</p>
  
  <p>What opinions are out there? The application will get fairly big so I'd like to get the approach right from the start. Perhaps someone can point me at an example for configuring a nested menu :-)</p>