Skip to main content
summaryrefslogtreecommitdiffstats
blob: 70458524c596a1722b9a243e66ae999a87c9276d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>

	<extension
		point="org.eclipse.ui.newWizards">

		<category
			id="org.eclipse.jpt.jaxb"
			name="%jpaWizardCategoryName"/>

 		<wizard
            id="org.eclipse.jpt.jaxb.ui.wizard.generateSchemaFromClasses"
			name="%generateSchemaFromClassesName"
 			category="org.eclipse.jpt.jaxb"
 			class="org.eclipse.jpt.jaxb.ui.internal.wizards.schemagen.SchemaGeneratorWizard"
			icon="icons/full/etool16/NewXSD.gif">
				<description>%generateSchemaFromClassesDesc</description>
				<selection class="org.eclipse.core.resources.IResource"/> 
		</wizard>

 		<wizard
            id="org.eclipse.jpt.jaxb.ui.wizard.generateJAXBClasses"
			name="%generateClassesFromSchemaName"
 			category="org.eclipse.jpt.jaxb"
 			class="org.eclipse.jpt.jaxb.ui.internal.wizards.classesgen.ClassesGeneratorWizard"
			icon="icons/full/etool16/newclass_wiz.gif">
				<description>%generateClassesFromSchemaDesc</description>
		</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> 
	</extension>

</plugin>

Back to the top