blob: 0b3613203dc5b33b9ddf43332830677a7872942c [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>
<!--
###################################################################################################################
## ##
## Geronimo Server - Extend WTP wizardFragments to include the Geronimo runtime and server types (defined in ##
## the corresponding core plugin) 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.30"
class="org.apache.geronimo.st.v30.ui.internal.GeronimoRuntimeWizardFragment"/>
<fragment id="org.apache.geronimo.server.wizardFragment"
typeIds="org.apache.geronimo.server.30"
class="org.apache.geronimo.st.v30.ui.internal.GeronimoServerWizardFragment"/>
</extension>
<!--
###################################################################################################################
## ##
## Geronimo Server - Define the icon for the Geronimo runtime and server types ##
## ##
###################################################################################################################
-->
<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.30"/>
<image id="org.apache.geronimo.server.image"
icon="icons/obj16/littleG.gif"
typeIds="org.apache.geronimo.server.30"/>
</extension>
<!--
###################################################################################################################
## ##
## Project Facets - Map the action defined for the "Geronimo Java EE Deployment" project-facet to a specific ##
## wizard class. The action must have been defined in the corresponding core plugin. ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.wst.common.project.facet.ui.wizardPages">
<wizard-pages action="geronimo.plan.install.v30">
<page class="org.apache.geronimo.st.v30.ui.wizards.facets.GeronimoJEEFacetInstallWizardPage"/>
</wizard-pages>
</extension>
<!--
###################################################################################################################
## ##
## Project Facets - Define the icon for the Geronimo Java EE and OSGi facets. The runtime component must have ##
## been defined in the corresponding core plugin. ##
## ##
###################################################################################################################
-->
<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>
<!--
###################################################################################################################
## ##
## Geronimo Server - Define the server editor pages (i.e., pages that display when user double-clicks on the ##
## server in the Java EE perspecitive) and sections and map them to specific classes ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.wst.server.ui.editorPages">
<page id="org.eclipse.wst.server.editor.plugins" order="10"
name="%serverEditorPluginPage"
typeIds="org.apache.geronimo.server.30"
insertionIds="org.eclipse.wst.server.editor.plugins"
class="org.apache.geronimo.st.v30.ui.pages.ServerPluginPage"/>
</extension>
<extension point="org.eclipse.wst.server.ui.editorPageSections">
<section id="org.apache.server.geronimo.plugins" order="10"
insertionId="org.eclipse.wst.server.editor.plugins"
typeIds="org.apache.geronimo.server.30"
class="org.apache.geronimo.st.v30.ui.sections.ServerPluginSection">
</section>
</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.server.30"
class="org.apache.geronimo.st.v30.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.server.30"
class="org.apache.geronimo.st.v30.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.server.30"
class="org.apache.geronimo.st.v30.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.server.30"
class="org.apache.geronimo.st.v30.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.server.30"
class="org.apache.geronimo.st.v30.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.server.30"
class="org.apache.geronimo.st.v30.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.server.30"
class="org.apache.geronimo.st.v30.ui.sections.ServerEditorTestEnvSection">
</section>
</extension>
<!--
###################################################################################################################
## ##
## Launch Configuration Properties - Displays when the users selects "Open launch configuration" from the ##
## the ServerEditorTestEnvSection defined above ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
id="org.apache.geronimo.st.v30.ui.launchConfigurationTypeImage"
configTypeID="org.apache.geronimo.st.v30.core.launchConfigurationType"
icon="icons/obj16/littleG.gif">
</launchConfigurationTypeImage>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
id="org.apache.geronimo.st.v30.ui.launchConfigurationTabGroup"
type="org.apache.geronimo.st.v30.core.launchConfigurationType"
class="org.apache.geronimo.st.v30.ui.internal.GeronimoLaunchConfigurationTabGroup">
</launchConfigurationTabGroup>
</extension>
<!--
###################################################################################################################
## ##
## Popup Menu - Define the schemas for the LaunchGeronimoConsoleAction and LaunchGeronimoSupportAction menu ##
## actions for the popup menu when right clicking on the server in the Server View ##
## ##
###################################################################################################################
-->
<extension-point id="actionURLs" name="Action ID and URL" schema="schema/actionURLs.exsd"/>
<extension point="org.apache.geronimo.st.v30.ui.actionURLs">
<server_prefix>org.apache.geronimo.</server_prefix>
<action_URL class="org.apache.geronimo.st.v30.ui.actions.LaunchGeronimoSupportAction"
URL="http://geronimo.apache.org/" />
</extension>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="true"
id="org.apache.geronimo.ui.serveractions.30"
objectClass="org.eclipse.wst.server.core.IServer">
<enablement>
<test forcePluginActivation="true"
property="org.eclipse.wst.server.ui.serverType"
value="org.apache.geronimo.server.3*" />
</enablement>
<action id="org.apache.geronimo.ui.launchSupport.30"
label="%PopupMenus.launchSupport" icon="icons/obj16/littleG.gif"
class="org.apache.geronimo.st.v30.ui.actions.LaunchGeronimoSupportAction"
enablesFor="1">
</action>
</objectContribution>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="true"
id="org.apache.geronimo.ui.serveractions.30"
objectClass="org.eclipse.wst.server.core.IServer">
<enablement>
<test forcePluginActivation="true"
property="org.eclipse.wst.server.ui.serverType"
value="org.apache.geronimo.server.3*" />
</enablement>
<action id="org.apache.geronimo.ui.launchconsole.30"
label="%PopupMenus.launchconsole" icon="icons/obj16/littleG.gif"
class="org.apache.geronimo.st.v30.ui.actions.LaunchGeronimoConsoleAction"
enablesFor="1">
</action>
</objectContribution>
</extension>
<!--
###################################################################################################################
## ##
## Geronimo XML Editors - Define the XML editor class for the various Geronimo-specific XML files (except for ##
## geronimo-application-client.xml) and the corresponding Form editor ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.ui.editors">
<editor class="org.apache.geronimo.st.v30.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.v30.ui.editors.WebEditor"
name="%deploymentPlanEditorName">
</editor>
</extension>
<extension-point id="loader" name="Geronimo Deployment Plan Form Loader" schema="schema/loader.exsd"/>
<extension point="org.apache.geronimo.st.v30.ui.loader">
<loader class="org.apache.geronimo.st.v30.ui.editors.GeronimoFormContentLoader" version="3.0"/>
</extension>
<!--
###################################################################################################################
## ##
## Blueprint XML Editor - Define the XML form editor class for the blueprint.xml file ##
## ##
## TODO(s) - Create JAXB model from blueprint.xsd Schema ##
## - Implement org.apache.geronimo.st.v30.ui.editors.BlueprintFormEditor and replace the default XML ##
## editor being used below. When that is done, the org.eclipse.wst.xml.ui bundle can be removed from ##
## the Required-Bundle list in the manifest.mf for this plugin. ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.ui.editors">
<editor class="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart"
contributorClass="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorActionBarContributor"
symbolicFontName="org.eclipse.wst.sse.ui.textfont"
default="true"
filenames="blueprint.xml"
icon="icons/obj16/littleOSGi.gif"
id="org.apache.geronimo.v30.ui.editors.BlueprintFormEditor"
name="%BlueprintFormEditorName">
<contentTypeBinding
contentTypeId="org.eclipse.core.runtime.xml"/>
<contentTypeBinding
contentTypeId="org.eclipse.wst.xml.core.xmlsource"/>
</editor>
</extension>
<!--
###################################################################################################################
## ##
## Refactoring - Invoked when the user changes a project name, so that the artifact ID in the deployment plan ##
## changes automatically ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
<renameParticipant
id="org.apache.geronimo.st.v30.ui.refactoring.rename"
name="Rename a project with renaming additional info in deployment plan"
class="org.apache.geronimo.st.v30.ui.refactoring.GeronimoProjectRenameParticipant">
<enablement>
<with variable="element">
<instanceof value="org.eclipse.core.resources.IProject">
</instanceof>
</with>
</enablement>
</renameParticipant>
</extension>
<!--
###################################################################################################################
## ##
## Downloads Menu - Create a commands category for the various download commands ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.ui.commands">
<category
description="Isolate all the various GEP downloads into a single menu"
id="org.apache.geronimo.st.v30.ui.commands.category"
name="Downloads">
</category>
<command
categoryId="org.apache.geronimo.st.v30.ui.commands.category"
description="Download OSGi application development tools"
id="org.apache.geronimo.st.v30.ui.commands.downloadOSGi"
name="Download OSGi Application Development Tools">
</command>
<command
categoryId="org.apache.geronimo.st.v30.ui.commands.category"
description="Download Geronimo Servers"
id="org.apache.geronimo.st.v30.ui.commands.downloadGeronimo"
name="Download Geronimo Servers">
</command>
</extension>
<!--
###################################################################################################################
## ##
## Downloads Menu - Create a Downloads menu for the download commands defined above ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
icon="icons/obj16/littleG.gif"
id="org.apache.geronimo.st.v30.ui.downloadsMenu"
label="Downloads"
mnemonic="D">
<command
commandId="org.apache.geronimo.st.v30.ui.commands.downloadOSGi"
icon="icons/obj16/littleOSGi.gif"
id="org.apache.geronimo.st.v30.ui.menus.downloadOSGi"
mnemonic="O"
style="push">
</command>
<separator
name="org.apache.geronimo.st.v30.ui.separator"
visible="true">
</separator>
<command
commandId="org.apache.geronimo.st.v30.ui.commands.downloadGeronimo"
icon="icons/obj16/littleG.gif"
id="org.apache.geronimo.st.v30.ui.menus.downloadGeronimo"
mnemonic="G"
style="push">
</command>
</menu>
</menuContribution>
</extension>
<!--
###################################################################################################################
## ##
## Downloads Menu - Create the handlers for the commands defined above ##
## ##
###################################################################################################################
-->
<extension point="org.eclipse.ui.handlers">
<handler
class="org.apache.geronimo.st.v30.ui.handlers.DownloadOSGi"
commandId="org.apache.geronimo.st.v30.ui.commands.downloadOSGi">
</handler>
<handler
class="org.apache.geronimo.st.v30.ui.handlers.DownloadGeronimo"
commandId="org.apache.geronimo.st.v30.ui.commands.downloadGeronimo">
</handler>
</extension>
</plugin>