title: How to display the command's drop-down menu after the command icon is clicked?
body: <p>In Eclipse RCP application I have a custom view and a drop-down command contributed into that view's toolbar:</p>
  
  <pre><code>  &lt;menuContribution
          allPopups="false"
          locationURI="toolbar:test.ui.views.MyView"&gt;
       &lt;command
             commandId="test.ui.commands.Command1"
             icon="icons/Command1.png"
             id="test.ui.commands.Command1.dropdown"
             label="Command 1"
             style="pulldown"&gt;
       &lt;/command&gt;
    &lt;/menuContribution&gt;
  </code></pre>
  
  <p>Then, I have a couple of other commands contributed into the Command1 drop-down menu like this:</p>
  
  <pre><code>  &lt;menuContribution
          allPopups="false"
          locationURI="menu:test.ui.commands.Command1.dropdown"&gt;
       &lt;command
             commandId="test.ui.commands.Command2"
             label="Command 2"
             style="push"&gt;
       &lt;/command&gt;
       &lt;command
             commandId="test.ui.commands.Command3"
             label="Command 3"
             style="push"&gt;
       &lt;/command&gt;
    &lt;/menuContribution&gt;
  </code></pre>
  
  <p>Until now everything works fine, I can see the Command1 icon on the view's toolbar and when I click the drop-down symbol next to it, the menu shows up with the Command2 and Command3 commands - as expected.</p>
  
  <p><strong>Problem:</strong></p>
  
  <p>What I would like to achieve now is to show the drop-down menu not only after the user clicks the drop-down symbol next to the Command1 icon, but also after the user clicks the Command1 icon itself.</p>
  
  <p>(for example, this is how the Open Console command works in the Console view's toolbar in Eclipse)</p>
  
  <p>I guess I need to programmatically trigger displaying the Command1 drop-down menu from within the Command1 handler but I couldn't find any examples on how to do that.</p>
  
  <p>Thanks in advance for any help!</p>