title: Dynamic menu contribution in plugin.xml
body: <p>In my <code>plugin.xml</code> I have</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;menuContribution
        allPopups="false"
        locationURI="menu:arm.views.funblocks?after=additions"&gt;
        &lt;menu
             icon="icons/fblock.gif"
             id="arm.views.funblocks.create"
             label="%arm.views.funblocks.create"&gt;
             &lt;dynamic class="ru.focusmedia.odp.arm.funblocks.navigator.admin.CreateFunBlockContrib"
                 id="arm.views.funblocks.create.menuitems"&gt;
             &lt;/dynamic&gt;
        &lt;/menu&gt;
        &lt;command
             commandId="org.eclipse.ui.edit.delete"
             style="push"&gt;
        &lt;/command&gt;
  &lt;/menuContribution&gt;
  </code></pre>
  
  <p>and this works fine. However, if I replace <code>menu:</code> with <code>toolbar:</code> in <code>locationURI</code>, only the delete command shows up, but not the menu. I've also tried replacing <code>&lt;menu&gt;</code> element with <code>&lt;toolbar&gt;</code>, but with no result. How can I do this?</p>