| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="buildpath" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="buildpath" id="buildpathVariableInitializer" name="Buildpath Variable Initializers"/> |
| </appinfo> |
| <documentation> |
| This extension point allows clients to contribute custom buildpath variable initializers, |
| which are used to lazily bind buildpath variables. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="buildpathVariableInitializer" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified identifier of the target extension point |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| an optional identifier of the extension instance |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| an optional name of the extension instance |
| </documentation> |
| <appinfo> |
| <meta.attribute translatable="true"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="buildpathVariableInitializer"> |
| <complexType> |
| <attribute name="variable" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique name identifying the variable for which this initializer will be activated. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the class that implements this variable initializer. |
| This class must implement a public subclass of <code>org.eclipse.dltk.core.BuildpathVariableInitializer</code> with a public 0-argument constructor. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.dltk.core.BuildpathVariableInitializer"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="readOnly" type="boolean"> |
| <annotation> |
| <documentation> |
| Indicates that the associated variable cannot be modified |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 2.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| Example of a declaration of a <code>BuildpathVariableInitializer</code> for a buildpath variable named "FOO": <pre> |
| <extension point="org.eclipse.dltk.core.buildpathVariableInitializer"> |
| <buildpathVariableInitializer |
| variable="FOO" |
| class="com.example.CPVInitializer"/> |
| </extension> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="copyright"/> |
| </appinfo> |
| <documentation> |
| Copyright (c) 2000, 2004 IBM Corporation and others.<br> |
| <br> |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0 which is available at |
| <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. |
| <br><br> |
| SPDX-License-Identifier: EPL-2.0 |
| </documentation> |
| </annotation> |
| |
| </schema> |