Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jaxb.ui/plugin.xml')
-rw-r--r--jpa/plugins/org.eclipse.jpt.jaxb.ui/plugin.xml96
1 files changed, 75 insertions, 21 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jaxb.ui/plugin.xml b/jpa/plugins/org.eclipse.jpt.jaxb.ui/plugin.xml
index 70458524c5..eb698f0cc7 100644
--- a/jpa/plugins/org.eclipse.jpt.jaxb.ui/plugin.xml
+++ b/jpa/plugins/org.eclipse.jpt.jaxb.ui/plugin.xml
@@ -1,13 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
+<?eclipse version="3.2"?> <!--
+ Copyright (c) 2010 Oracle. All rights reserved.
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v1.0, which accompanies this distribution
+ and is available at http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Oracle - initial API and implementation
+ -->
+<plugin>
+
+ <extension
+ point="org.eclipse.core.runtime.adapters">
+
+ <factory
+ class="org.eclipse.jpt.jaxb.ui.internal.wizards.facet.model.JaxbFacetInstallConfigToDataModelAdapterFactory"
+ adaptableType="org.eclipse.jpt.jaxb.core.internal.facet.JaxbFacetInstallConfig">
+ <adapter type="org.eclipse.wst.common.frameworks.datamodel.IDataModel"/>
+ </factory>
+
+ </extension>
+
+
<extension
point="org.eclipse.ui.newWizards">
<category
id="org.eclipse.jpt.jaxb"
- name="%jpaWizardCategoryName"/>
+ name="%jaxbWizardCategoryName"/>
<wizard
id="org.eclipse.jpt.jaxb.ui.wizard.generateSchemaFromClasses"
@@ -28,27 +49,60 @@
<description>%generateClassesFromSchemaDesc</description>
</wizard>
+ <!-- will need to specify a final perspective once we have a jaxb perspective -->
+ <wizard
+ id="org.eclipse.jpt.jaxb.ui.wizard.newJaxbProject"
+ name="%newJaxbProjectWizardName"
+ icon="icons/full/etool16/new_jaxb_project_wiz.gif"
+ category="org.eclipse.jpt.jaxb"
+ project="true">
+ <description>%newJaxbProjectWizardDesc</description>
+ <class class="org.eclipse.jpt.jaxb.ui.internal.wizards.proj.JaxbProjectWizard">
+ <parameter name="menuIndex" value="35"/>
+ </class>
+ </wizard>
+
</extension>
-
+
+
<extension
point="org.eclipse.ui.popupMenus">
- <!-- contributions to the "Generate" submenu -->
- <objectContribution
- id="org.eclipse.jpt.ui.xsdFileActions"
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.xsd">
- <filter
- name="projectNature"
- value="org.eclipse.jdt.core.javanature">
- </filter>
- <action
- id="org.eclipse.jpt.jaxb.ui.generateJaxbClasses"
- label="%generateJaxbClasses"
- menubarPath="generateMenuId/GenerateXML"
- class="org.eclipse.jpt.jaxb.ui.internal.actions.GenerateClassesAction">
- </action>
- </objectContribution>
+ <!-- contributions to the "Generate" submenu -->
+ <objectContribution
+ id="org.eclipse.jpt.ui.xsdFileActions"
+ objectClass="org.eclipse.core.resources.IFile"
+ nameFilter="*.xsd">
+ <filter
+ name="projectNature"
+ value="org.eclipse.jdt.core.javanature">
+ </filter>
+ <action
+ id="org.eclipse.jpt.jaxb.ui.generateJaxbClasses"
+ label="%generateJaxbClasses"
+ menubarPath="generateMenuId/GenerateXML"
+ class="org.eclipse.jpt.jaxb.ui.internal.actions.GenerateClassesAction">
+ </action>
+ </objectContribution>
+
</extension>
-
+
+
+ <extension
+ point="org.eclipse.wst.common.project.facet.ui.images">
+
+ <image facet="jpt.jaxb" path="icons/full/etool16/jaxb_facet.gif"/>
+
+ </extension>
+
+
+ <extension
+ point="org.eclipse.wst.common.project.facet.ui.wizardPages">
+
+ <wizard-pages action="jpt.jaxb.install">
+ <page class="org.eclipse.jpt.jaxb.ui.internal.wizards.facet.JaxbFacetInstallPage"/>
+ </wizard-pages>
+
+ </extension>
+
</plugin>

Back to the top