title: How to create custom commands for my Eclipse RCP 4 application?
body: <p>I'm writing an e4 application and I'm trying to create a custom command but the documentation is somehow lacking details. I have a toolbar with a check button on it and what I want to achieve is to have a command which has a boolean parameter which tells my handler whether the check button is checked or not. </p>
  
  <p>I tried the visual model editor but I can only hard code parameters there. Do I have to implement the <code>MCommand</code> interface or there is some simpler solution? Can you point me in the right direction? </p>