Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7b0cc9b999435b6d500e31c7d270557e3998b622 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>

<plugin
   id="org.eclipse.compare.examples.xml"
   name="%pluginName"
   version="3.0.0"
   provider-name="%providerName"
   class="org.eclipse.compare.examples.xml.XMLPlugin">

	<requires>
	   <import plugin="org.eclipse.ui"/>
	   <import plugin="org.eclipse.core.resources"/>
	   <import plugin="org.eclipse.compare"/>
	   <import plugin="org.apache.xerces"/>
	</requires>

	<runtime>
	   <library name="xmlcompareexamples.jar">
	      <export name="*"/>
	   </library>
	</runtime>

	<extension-point
		id="idMapping"
		name="%idMapping"
		schema="schema/idMapping.exsd"
	/>

	<extension
		point="org.eclipse.compare.examples.xml.idMapping">
		
		<idmap id="antMap" name="%antMap">
			<mapping signature="project" id="name"/>
	      	<mapping signature="project>target" id="name"/>
	      	<ordered signature="project>target"/>
		</idmap>
		
		<idmap id="eclipsePluginMap" name="%eclipsePluginMap">
	      	<mapping signature="plugin" id="id"/>
	      	<mapping signature="plugin>requires>import" id="plugin"/>
	      	<mapping signature="plugin>runtime>library" id="name"/>
	      	<mapping signature="plugin>runtime>library>export" id="name"/>
	      	<mapping signature="plugin>extension-point" id="id"/>
	      	<mapping signature="plugin>extension" id="point"/>
		</idmap>
		
		<idmap id="classpathMap" name="%classpathMap" extension="CLASSPATH">
	      	<mapping signature="classpath>classpathentry" id="path"/>
		</idmap>
		
	</extension>

	<extension
		point="org.eclipse.compare.structureMergeViewers">
		<structureMergeViewer
			extensions="xml,classpath"
			class="org.eclipse.compare.examples.xml.XMLStructureViewerCreator">
		</structureMergeViewer>
	</extension>
	
	<extension
		point="org.eclipse.ui.preferencePages">
		<page name="%pluginNamePreferencePage"
			id="org.eclipse.compare.examples.xml.XMLComparePreferencePage"
			class="org.eclipse.compare.examples.xml.XMLComparePreferencePage"
			category= "org.eclipse.ui.preferencePages.Workbench">
		</page>	
	</extension>

</plugin>

Back to the top