ShareClient-Eclipse/plugin.xml
2023-12-14 20:50:36 +01:00

108 lines
3.3 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="Share Client">
</category>
<command
categoryId="ShareClient.commands.category"
name="Share Project"
id="ShareClient.commands.shareProjectCommand">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="me.mrletsplay.shareclient.handlers.ShareProjectHandler"
commandId="ShareClient.commands.shareProjectCommand">
</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
allPopups="false"
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu
icon="icons/icon.png"
label="Share Client">
<command
commandId="ShareClient.commands.shareProjectCommand"
icon="icons/share.png"
label="Share project"
style="push">
<visibleWhen
checkEnabled="false">
<iterate
ifEmpty="false">
<adapt
type="org.eclipse.core.resources.IResource">
</adapt>
</iterate>
</visibleWhen>
</command>
</menu>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.views">
<category
id="me.mrletsplay.shareclient"
name="Share Client">
</category>
<view
category="me.mrletsplay.shareclient"
class="me.mrletsplay.shareclient.views.ShareView"
icon="icons/icon.png"
id="me.mrletsplay.shareclient.views.ShareView"
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>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="me.mrletsplay.shareclient.ShareClientPreferencePage"
id="ShareClient.preferences"
name="Share Client">
</page>
</extension>
<extension
point="org.eclipse.ui.startup">
<startup
class="me.mrletsplay.shareclient.ShareClient">
</startup>
</extension>
</plugin>