You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
2.0 KiB
63 lines
2.0 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.4"?>
|
|
<plugin>
|
|
|
|
<extension
|
|
point="org.eclipse.ui.commands">
|
|
<category
|
|
id="com.connor.plm.commands.category"
|
|
name="Sample Category">
|
|
</category>
|
|
<command
|
|
categoryId="com.connor.plm.commands.category"
|
|
name="Sample Command"
|
|
id="com.connor.plm.commands.sampleCommand">
|
|
</command>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.handlers">
|
|
<handler
|
|
class="com.connor.plm.handlers.SampleHandler"
|
|
commandId="com.connor.plm.commands.sampleCommand">
|
|
</handler>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.bindings">
|
|
<key
|
|
commandId="com.connor.plm.commands.sampleCommand"
|
|
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
|
|
contextId="org.eclipse.ui.contexts.window"
|
|
sequence="M1+6">
|
|
</key>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.menus">
|
|
<menuContribution
|
|
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
|
|
<menu
|
|
id="com.connor.plm.menus.sampleMenu"
|
|
label="Sample Menu"
|
|
mnemonic="M">
|
|
<command
|
|
commandId="com.connor.plm.commands.sampleCommand"
|
|
id="com.connor.plm.menus.sampleCommand"
|
|
mnemonic="S">
|
|
</command>
|
|
</menu>
|
|
</menuContribution>
|
|
<menuContribution
|
|
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
|
|
<toolbar
|
|
id="com.connor.plm.toolbars.sampleToolbar">
|
|
<command
|
|
id="com.connor.plm.toolbars.sampleCommand"
|
|
commandId="com.connor.plm.commands.sampleCommand"
|
|
icon="icons/sample.png"
|
|
tooltip="Say hello world">
|
|
</command>
|
|
</toolbar>
|
|
</menuContribution>
|
|
</extension>
|
|
|
|
</plugin>
|