blob: 7971e58550854231e7b4de6e17c6a36860891654 [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
3<schema targetNamespace="org.eclipse.jdt.core">
4<annotation>
5 <appInfo>
6 <meta.schema plugin="org.eclipse.jdt.core" id="classpathContainerInitializer" name="Classpath Container Initializers"/>
7 </appInfo>
8 <documentation>
9 This extension point allows clients to contribute custom classpath container initializers,
10 which are used to lazily bind classpath containers to instances of org.eclipse.jdt.core.IClasspathContainer.
11 </documentation>
12 </annotation>
13
14 <element name="extension">
15 <complexType>
16 <sequence>
17 <element ref="classpathContainerInitializer" minOccurs="0" maxOccurs="unbounded"/>
18 </sequence>
19 <attribute name="point" type="string" use="required">
20 <annotation>
21 <documentation>
22 a fully qualified identifier of the target extension point
23 </documentation>
24 </annotation>
25 </attribute>
26 <attribute name="id" type="string">
27 <annotation>
28 <documentation>
29 an optional identifier of the extension instance
30 </documentation>
31 </annotation>
32 </attribute>
33 <attribute name="name" type="string">
34 <annotation>
35 <documentation>
36 an optional name of the extension instance
37 </documentation>
38 <appInfo>
39 <meta.attribute translatable="true"/>
40 </appInfo>
41 </annotation>
42 </attribute>
43 </complexType>
44 </element>
45
46 <element name="classpathContainerInitializer">
47 <complexType>
48 <attribute name="id" type="string" use="required">
49 <annotation>
50 <documentation>
51 a unique name identifying all containers for which this initializer will be activated.
52 </documentation>
53 </annotation>
54 </attribute>
55 <attribute name="class" type="string" use="required">
56 <annotation>
57 <documentation>
58 the class that implements this container initializer.
59 This class must implement a public subclass of &lt;code&gt;org.eclipse.jdt.core.ClasspathContainerInitializer&lt;/code&gt; with a public 0-argument constructor.
60 </documentation>
61 <appInfo>
62 <meta.attribute kind="java" basedOn="org.eclipse.jdt.core.ClasspathContainerInitializer"/>
63 </appInfo>
64 </annotation>
65 </attribute>
66 </complexType>
67 </element>
68
69 <annotation>
70 <appInfo>
71 <meta.section type="since"/>
72 </appInfo>
73 <documentation>
74 2.0
75 </documentation>
76 </annotation>
77
78 <annotation>
79 <appInfo>
80 <meta.section type="examples"/>
81 </appInfo>
82 <documentation>
83 Example of a declaration of a &lt;code&gt;ClasspathContainerInitializer&lt;/code&gt; for a classpath container named &quot;JDK&quot;: &lt;pre&gt;
84&lt;extension point=&quot;org.eclipse.jdt.core.classpathContainerInitializer&quot;&gt;
85 &lt;classpathContainerInitializer
86 id=&quot;JDK&quot;
87 class=&quot;com.example.MyInitializer&quot;/&gt;
88&lt;/extension&gt;
89&lt;/pre&gt;
90 </documentation>
91 </annotation>
92
93 <annotation>
94 <appInfo>
95 <meta.section type="apiInfo"/>
96 </appInfo>
97 <documentation>
98
99 </documentation>
100 </annotation>
101
102 <annotation>
103 <appInfo>
104 <meta.section type="implementation"/>
105 </appInfo>
106 <documentation>
107
108 </documentation>
109 </annotation>
110
111 <annotation>
112 <appInfo>
113 <meta.section type="copyright"/>
114 </appInfo>
115 <documentation>
116 Copyright (c) 2000, 2004 IBM Corporation and others.&lt;br&gt;
Stephan Herrmannb94fba72018-08-28 14:00:08 +0200117
118This program and the accompanying materials are made
119available under the terms of the Eclipse Public License 2.0 which accompanies
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000120this distribution, and is available at &lt;a
Stephan Herrmannb94fba72018-08-28 14:00:08 +0200121href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
122
123SPDX-License-Identifier: EPL-2.0
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000124 </documentation>
125 </annotation>
126
127</schema>