Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 1 | <?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 <code>org.eclipse.jdt.core.ClasspathVariableInitializer</code> 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 <code>ClasspathVariableInitializer</code> for a classpath variable named "FOO": <pre> |
| 101 | <extension point="org.eclipse.jdt.core.classpathVariableInitializer"> |
| 102 | <classpathVariableInitializer |
| 103 | variable="FOO" |
| 104 | class="com.example.CPVInitializer"/> |
| 105 | </extension> |
| 106 | </pre> |
| 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.<br> |
Stephan Herrmann | b94fba7 | 2018-08-28 14:00:08 +0200 | [diff] [blame] | 134 | |
| 135 | This program and the accompanying materials are made |
| 136 | available under the terms of the Eclipse Public License 2.0 which accompanies |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 137 | this distribution, and is available at <a |
Stephan Herrmann | b94fba7 | 2018-08-28 14:00:08 +0200 | [diff] [blame] | 138 | href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/ |
| 139 | |
| 140 | SPDX-License-Identifier: EPL-2.0 |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 141 | </documentation> |
| 142 | </annotation> |
| 143 | |
| 144 | </schema> |