Skip to content

Instantly share code, notes, and snippets.

@jcleblanc
Created December 6, 2011 21:56
Show Gist options
  • Select an option

  • Save jcleblanc/1440203 to your computer and use it in GitHub Desktop.

Select an option

Save jcleblanc/1440203 to your computer and use it in GitHub Desktop.
plugin.xml file: Commands
<!-- Toolbar Dropdown Menu -->
<extension point="org.eclipse.ui.commands">
<category id="com.x.sampleplugin.dropdown.category" name="Sample Plugin DropDown"></category>
<command categoryId="com.x.sampleplugin.dropdown.category" id="com.x.sampleplugin.dropdown.command" name="DropDown">
<commandParameter id="com.x.sampleplugin.dropdown.msg" name="DropDown Options" optional="true"></commandParameter>
</command>
<command categoryId="com.x.sampleplugin.dropdown.category" id="com.x.sampleplugin.dropdown.commandProfile" name="Profile">
<commandParameter id="com.x.sampleplugin.dropdown.msg" name="DropDown Options" optional="true"></commandParameter>
</command>
<command categoryId="com.x.sampleplugin.dropdown.category" id="com.x.sampleplugin.dropdown.commandLoadSite" name="LoadSite">
<commandParameter id="com.x.sampleplugin.dropdown.msg" name="DropDown Options" optional="true"></commandParameter>
</command>
</extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment