96 lines
2.9 KiB
XML
96 lines
2.9 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<?eclipse version="3.4"?>
|
||
|
<plugin>
|
||
|
|
||
|
<extension
|
||
|
point="org.eclipse.ui.commands">
|
||
|
<category
|
||
|
id="ShareClient.commands.category"
|
||
|
name="Sample Category">
|
||
|
</category>
|
||
|
<command
|
||
|
categoryId="ShareClient.commands.category"
|
||
|
name="Sample Command"
|
||
|
id="ShareClient.commands.sampleCommand">
|
||
|
</command>
|
||
|
</extension>
|
||
|
<extension
|
||
|
point="org.eclipse.ui.handlers">
|
||
|
<handler
|
||
|
class="me.mrletsplay.shareclient.handlers.SampleHandler"
|
||
|
commandId="ShareClient.commands.sampleCommand">
|
||
|
</handler>
|
||
|
</extension>
|
||
|
<extension
|
||
|
point="org.eclipse.ui.bindings">
|
||
|
<key
|
||
|
commandId="ShareClient.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="ShareClient.menus.sampleMenu"
|
||
|
label="Sample Menu"
|
||
|
mnemonic="M">
|
||
|
<command
|
||
|
commandId="ShareClient.commands.sampleCommand"
|
||
|
id="ShareClient.menus.sampleCommand"
|
||
|
mnemonic="S">
|
||
|
</command>
|
||
|
</menu>
|
||
|
</menuContribution>
|
||
|
<menuContribution
|
||
|
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
|
||
|
<toolbar
|
||
|
id="ShareClient.toolbars.sampleToolbar">
|
||
|
<command
|
||
|
id="ShareClient.toolbars.sampleCommand"
|
||
|
commandId="ShareClient.commands.sampleCommand"
|
||
|
icon="icons/sample.png"
|
||
|
tooltip="Say hello world">
|
||
|
</command>
|
||
|
</toolbar>
|
||
|
</menuContribution>
|
||
|
</extension>
|
||
|
<extension
|
||
|
point="org.eclipse.ui.views">
|
||
|
<category
|
||
|
id="me.mrletsplay.shareclient"
|
||
|
name="ShareClient">
|
||
|
</category>
|
||
|
<view
|
||
|
category="me.mrletsplay.shareclient"
|
||
|
class="me.mrletsplay.shareclient.views.ShareView"
|
||
|
icon="icons/sample.png"
|
||
|
id="shareclient.views.SampleView"
|
||
|
inject="true"
|
||
|
name="Share Client">
|
||
|
</view>
|
||
|
</extension>
|
||
|
<extension
|
||
|
point="org.eclipse.ui.perspectiveExtensions">
|
||
|
<perspectiveExtension
|
||
|
targetID="org.eclipse.jdt.ui.JavaPerspective">
|
||
|
<view
|
||
|
id="me.mrletsplay.shareclient.views.ShareView"
|
||
|
ratio="0.5"
|
||
|
relationship="right"
|
||
|
relative="org.eclipse.ui.views.ProblemView">
|
||
|
</view>
|
||
|
</perspectiveExtension>
|
||
|
</extension>
|
||
|
<extension
|
||
|
point="org.eclipse.help.contexts">
|
||
|
<contexts
|
||
|
file="contexts.xml">
|
||
|
</contexts>
|
||
|
</extension>
|
||
|
|
||
|
</plugin>
|