I would like to add a gap between two buttons on the Eclipse toolbar. Both of these buttons are defined in plugin.xml for the plugin. I tried to specify the delimiter according to the following XML fragment, but nothing is displayed.
<menuContribution locationURI="toolbar:com.bogus.viewId.MyView">
<command
commandId="com.bogus.filters.menu"
icon="icons/filter.gif"
label="Filter Menu"
style="pulldown"
tooltip="Filter Menu" />
</menuContribution>
<menuContribution locationURI="toolbar:com.bogus.viewId.MyView">
<separator name="com.bogus.separator1" />
</menuContribution>
<menuContribution locationURI="toolbar:com.bogus.viewId.MyView">
<command
commandId="com.bogus.commands.dangerous"
icon="icons/bomb.png"
label="BOOM!"
tooltip="BOOM!" />
</menuContribution>
As a note, does anyone know where I can find a decent schema definition for the plugin.xml file? This is the best I could find so far, but its poor.
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/plugin_manifest.html
source
share