blob: 49829558fa6abe8af864a0eb4bb0f3d247cf5f50 [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="classpathVariableInitializer" name="Classpath Variable Initializers"/>
7 </appInfo>
8 <documentation>
9 This extension point allows clients to contribute custom classpath variable initializers,
10 which are used to lazily bind classpath variables.
11 </documentation>
12 </annotation>
13
14 <element name="extension">
15 <complexType>
16 <sequence>
17 <element ref="classpathVariableInitializer" 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="classpathVariableInitializer">
47 <complexType>
48 <attribute name="variable" type="string" use="required">
49 <annotation>
50 <documentation>
51 a unique name identifying the variable 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 variable initializer.
59 This class must implement a public subclass of &lt;code&gt;org.eclipse.jdt.core.ClasspathVariableInitializer&lt;/code&gt; with a public 0-argument constructor.
60 </documentation>
61 <appInfo>
62 <meta.attribute kind="java" basedOn="org.eclipse.jdt.core.ClasspathVariableInitializer"/>
63 </appInfo>
64 </annotation>
65 </attribute>
66 <attribute name="deprecated" type="string">
67 <annotation>
68 <documentation>
69 String explaining the reason why the associated variable is deprecated
70 </documentation>
71 <appInfo>
72 <meta.attribute translatable="true"/>
73 </appInfo>
74 </annotation>
75 </attribute>
76 <attribute name="readOnly" type="boolean">
77 <annotation>
78 <documentation>
79 Indicates that the associated variable cannot be modified
80 </documentation>
81 </annotation>
82 </attribute>
83 </complexType>
84 </element>
85
86 <annotation>
87 <appInfo>
88 <meta.section type="since"/>
89 </appInfo>
90 <documentation>
91 2.0
92 </documentation>
93 </annotation>
94
95 <annotation>
96 <appInfo>
97 <meta.section type="examples"/>
98 </appInfo>
99 <documentation>
100 Example of a declaration of a &lt;code&gt;ClasspathVariableInitializer&lt;/code&gt; for a classpath variable named &quot;FOO&quot;: &lt;pre&gt;
101&lt;extension point=&quot;org.eclipse.jdt.core.classpathVariableInitializer&quot;&gt;
102 &lt;classpathVariableInitializer
103 variable=&quot;FOO&quot;
104 class=&quot;com.example.CPVInitializer&quot;/&gt;
105&lt;/extension&gt;
106&lt;/pre&gt;
107 </documentation>
108 </annotation>
109
110 <annotation>
111 <appInfo>
112 <meta.section type="apiInfo"/>
113 </appInfo>
114 <documentation>
115
116 </documentation>
117 </annotation>
118
119 <annotation>
120 <appInfo>
121 <meta.section type="implementation"/>
122 </appInfo>
123 <documentation>
124
125 </documentation>
126 </annotation>
127
128 <annotation>
129 <appInfo>
130 <meta.section type="copyright"/>
131 </appInfo>
132 <documentation>
133 Copyright (c) 2000, 2004 IBM Corporation and others.&lt;br&gt;
Stephan Herrmannb94fba72018-08-28 14:00:08 +0200134
135This program and the accompanying materials are made
136available under the terms of the Eclipse Public License 2.0 which accompanies
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000137this distribution, and is available at &lt;a
Stephan Herrmannb94fba72018-08-28 14:00:08 +0200138href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
139
140SPDX-License-Identifier: EPL-2.0
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000141 </documentation>
142 </annotation>
143
144</schema>