blob: 74905f895c85478cc3e400bff6cbe13562657b18 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<!-- $Rev$ $Date$ -->
<plugin>
<extension-point id="loader" name="Geronimo Deployment Plan Form Loader" schema="schema/loader.exsd"/>
<extension-point id="actionURLs" name="Action ID and URL" schema="schema/actionURLs.exsd"/>
<!-- ======================================================================================= -->
<!-- -->
<!-- Define the icon for the Geronimo <runtime-component-type> and the "Geronimo Deployment" -->
<!-- <project-facet>, which are declared in org.apache.geronimo.st.core\plugin.xml -->
<!-- -->
<!-- ======================================================================================= -->
<extension point="org.eclipse.wst.common.project.facet.ui.images">
<image runtime-component-type="org.apache.geronimo.runtime"
path="icons/obj16/littleG.gif"/>
<image facet="org.apache.geronimo.facet"
path="icons/obj16/littleG.gif"/>
</extension>
<!--
|
| Define the icon for the Geronimo runtime and server types
| (defined in plugins\org.apache.geronimo.st.v*.core\plugin.xml)
|
-->
<extension point="org.eclipse.wst.server.ui.serverImages">
<image id="org.apache.geronimo.runtime.image"
icon="icons/obj16/littleG.gif"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"/>
<image id="org.apache.geronimo.server.image"
icon="icons/obj16/littleG.gif"
typeIds="org.apache.geronimo.server.11,
org.apache.geronimo.server.20,
org.apache.geronimo.server.21,
org.apache.geronimo.server.22"/>
</extension>
<!--
|
| Extend WTP wizardFragments to include the Geronimo runtime and server types
| (defined in plugins\org.apache.geronimo.st.v*.core\plugin.xml) when defining either a
| new Geronimo runtime (e.g., via Window->Preferences->Server->Installed Runtimes->Add)
| or a new Geronimo server (e.g., via File->New->Other->Server)
|
-->
<extension point="org.eclipse.wst.server.ui.wizardFragments">
<fragment id="org.apache.geronimo.runtime.wizardFragment"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"
class="org.apache.geronimo.st.ui.internal.GeronimoRuntimeWizardFragment"/>
<fragment id="org.apache.geronimo.server.wizardFragment"
typeIds="org.apache.geronimo.server.11,
org.apache.geronimo.server.20,
org.apache.geronimo.server.21,
org.apache.geronimo.server.22"
class="org.apache.geronimo.st.ui.internal.GeronimoServerWizardFragment"/>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="true"
id="org.apache.geronimo.ui.serveractions"
objectClass="org.eclipse.wst.server.core.IServer">
<enablement>
<test forcePluginActivation="true"
property="org.eclipse.wst.server.ui.serverType"
value="org.apache.geronimo.server.1*,org.apache.geronimo.server.2*"/>
</enablement>
<action id="org.apache.geronimo.ui.launchSupport"
label="%PopupMenus.launchSupport" icon="icons/obj16/littleG.gif"
class="org.apache.geronimo.st.ui.actions.LaunchGeronimoSupportAction"
enablesFor="1">
</action>
</objectContribution>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="true"
id="org.apache.geronimo.ui.serveractions"
objectClass="org.eclipse.wst.server.core.IServer">
<enablement>
<test forcePluginActivation="true"
property="org.eclipse.wst.server.ui.serverType"
value="org.apache.geronimo.server.1*,org.apache.geronimo.server.2*"/>
</enablement>
<action id="org.apache.geronimo.ui.launchconsole"
label="%PopupMenus.launchconsole" icon="icons/obj16/littleG.gif"
class="org.apache.geronimo.st.ui.actions.LaunchGeronimoConsoleAction"
enablesFor="1">
</action>
</objectContribution>
</extension>
<extension point="org.eclipse.wst.server.ui.editorPageSections">
<section id="org.apache.server.geronimo.security" order="10"
insertionId="org.eclipse.wst.server.editor.overview.left"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"
class="org.apache.geronimo.st.ui.sections.ServerEditorSecuritySection">
</section>
</extension>
<extension point="org.eclipse.wst.server.ui.editorPageSections">
<section id="org.apache.server.geronimo.publishAdvanced" order="10"
insertionId="org.eclipse.wst.server.editor.overview.right"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"
class="org.apache.geronimo.st.ui.sections.ServerEditorPublishAdvancedSection">
</section>
</extension>
<extension point="org.eclipse.wst.server.ui.editorPageSections">
<section id="org.apache.server.geronimo.port" order="10"
insertionId="org.eclipse.wst.server.editor.overview.right"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"
class="org.apache.geronimo.st.ui.sections.ServerEditorPortsSection">
</section>
</extension>
<extension point="org.eclipse.wst.server.ui.editorPageSections">
<section id="org.apache.server.geronimo.loglevel" order="20"
insertionId="org.eclipse.wst.server.editor.overview.right"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"
class="org.apache.geronimo.st.ui.sections.ServerEditorLogLevelSection">
</section>
</extension>
<extension point="org.eclipse.wst.server.ui.editorPageSections">
<section id="org.apache.server.geronimo.security" order="30"
insertionId="org.eclipse.wst.server.editor.overview.right"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"
class="org.apache.geronimo.st.ui.sections.ServerEditorStartupSection">
</section>
</extension>
<extension point="org.eclipse.wst.server.ui.editorPageSections">
<section id="org.apache.server.geronimo.vmargs" order="40"
insertionId="org.eclipse.wst.server.editor.overview.right"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"
class="org.apache.geronimo.st.ui.sections.ServerVMArgsSection">
</section>
</extension>
<extension point="org.eclipse.wst.server.ui.editorPageSections">
<section id="org.apache.server.geronimo.testenv" order="20"
insertionId="org.eclipse.wst.server.editor.overview.left"
typeIds="org.apache.geronimo.runtime.11,
org.apache.geronimo.runtime.20,
org.apache.geronimo.runtime.21,
org.apache.geronimo.runtime.22"
class="org.apache.geronimo.st.ui.sections.ServerEditorTestEnvSection">
</section>
</extension>
<!--
|
| Define the Web editor class for the various Geronimo-specific XML files
| (except for geronimo-application-client.xml)
|
-->
<extension point="org.eclipse.ui.editors">
<editor class="org.apache.geronimo.st.ui.editors.SharedDeploymentPlanEditor"
default="true"
filenames="geronimo-web.xml,
geronimo-application.xml,
openejb-jar.xml,
geronimo-application-client.xml,
geronimo-ra.xml"
icon="icons/obj16/littleG.gif"
id="org.apache.geronimo.ui.editors.WebEditor"
name="%deploymentPlanEditorName">
</editor>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
id="org.apache.geronimo.st.ui.launchConfigurationTypeImage"
configTypeID="org.apache.geronimo.st.core.launchConfigurationType"
icon="icons/obj16/littleG.gif">
</launchConfigurationTypeImage>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
id="org.apache.geronimo.st.ui.launchConfigurationTabGroup"
type="org.apache.geronimo.st.core.launchConfigurationType"
class="org.apache.geronimo.st.ui.internal.GeronimoLaunchConfigurationTabGroup">
</launchConfigurationTabGroup>
</extension>
<extension point="org.apache.geronimo.st.ui.actionURLs">
<server_prefix>org.apache.geronimo.</server_prefix>
<action_URL class="org.apache.geronimo.st.ui.actions.LaunchGeronimoSupportAction"
URL="http://geronimo.apache.org/" />
</extension>
<extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
<renameParticipant
id="org.apache.geronimo.st.ui.refactoring.rename"
name="Rename a project with renaming additional info in deployment plan"
class="org.apache.geronimo.st.ui.refactoring.GeronimoProjectRenameParticipant">
<enablement>
<with variable="element">
<instanceof value="org.eclipse.core.resources.IProject">
</instanceof>
</with>
</enablement>
</renameParticipant>
</extension>
</plugin>