Files

137 lines
4.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.newWizards">
<category
id="Huacloud-plugin.category.hucloud"
name="华云平台">
</category>
<wizard
category="Huacloud-plugin.category.hucloud"
class="com.huacloud.plugin.wizard.NewWebappWizard"
icon="icon/pre_web.png"
id="Huacloud-plugin.wizard.newWebapp"
name="Web 应用"
project="true">
<description>
创建一个在华云平台运行的Java Web应用。
</description>
</wizard>
<wizard
category="Huacloud-plugin.category.hucloud"
class="com.huacloud.plugin.wizard.NewWebServices"
icon="icon/webservices.png"
id="Huacloud-plugin.wizard.webservices"
name="Axis2 Web服务"
project="true">
<description>
创建一个在华云平台运行的Java Axis2 Web服务。
</description>
</wizard>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="com.huacloud.plugin.preferences.SamplePreferencePage"
id="com.huacloud.plugin.preferences.SamplePreferencePage"
name="华云平台设置">
</page>
</extension>
<extension
id="com.huacloud.plugin.preferences"
point="org.eclipse.core.runtime.preferences">
<initializer
class="com.huacloud.plugin.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
id="Huacloud-plugin.commands.category"
name="华云平台命令">
</category>
<command
categoryId="Huacloud-plugin.commands.category"
id="Huacloud-plugin.commands.sampleCommand"
name="git用户设置">
</command>
<command
id="Huacloud-plugin.command.sync"
name="项目关联同步">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="com.huacloud.plugin.handlers.GitHandler"
commandId="Huacloud-plugin.commands.sampleCommand">
</handler>
<handler
class="com.huacloud.plugin.handlers.SyncProjectHandler"
commandId="Huacloud-plugin.command.sync">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="Huacloud-plugin.commands.sampleCommand"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+6">
</key>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
id="Huacloud-plugin.menus.sampleMenu"
label="华云平台"
mnemonic="M">
<command
commandId="Huacloud-plugin.commands.sampleCommand"
id="Huacloud-plugin.menus.sampleCommand"
mnemonic="S">
</command>
<command
commandId="Huacloud-plugin.command.sync"
id="huacloud.plugin.command.sync"
style="push">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="Huacloud-plugin.toolbars.sampleToolbar">
<command
commandId="Huacloud-plugin.commands.sampleCommand"
icon="icon/icon_git_conew1.png"
label="Git用户设置"
tooltip="设置Git用户">
</command>
<command
commandId="Huacloud-plugin.command.sync"
icon="icon/sync.png"
label="同步项目"
tooltip="登录到华云平台获取工程列表">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
class="com.huacloud.plugin.editor.HuacloudEditor"
default="false"
extensions="xml"
filenames="huacloud.xml"
icon="icon/editor.png"
id="Huacloud-plugin.editor1"
name="华云可视化编辑器">
</editor>
</extension>
</plugin>