title: Retrieving parameters from eclipse rcp/e4 in Handler
body: <p>I have code to execute my handler/command, and it reaches here:</p>
  
  
  
  <pre class="lang-java prettyprint-override"><code>@Execute
  public Object execute(Shell shell) {
      System.out.println("Executing login!");
      return null;
  }
  </code></pre>
  
  <p>However, I cannot find the injection service to provide me the parameters I passed in the command.</p>
  
  <p>I tried:</p>
  
  <pre class="lang-java prettyprint-override"><code>@Execute
  public Object execute(ExecutionEvent event)
  </code></pre>
  
  <p>But it doesn't even see this method, and I suspect it's because that's not even an e4.* class.  I am aware of <a href="https://stackoverflow.com/questions/17651022/eclipse-rcp-4-handler-method-parameters">Eclipse RCP 4 - Handler method parameters</a> but it doesn't tell me which service the command parameters are, e.g..:</p>
  
  <pre class="lang-java prettyprint-override"><code>ParameterizedCommand myCommand = commandService.createCommand("mycommand.login", credentials);
  Object result = handlerService.executeHandler(myCommand);
  </code></pre>
  
  <p>Where are my values from the credentials map?</p>