blob: 854f021d94afafefe6c3e51dcf6dea20a5cff911 [file] [log] [blame]
<?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 &lt;code&gt;org.eclipse.dltk.core.BuildpathVariableInitializer&lt;/code&gt; 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 &lt;code&gt;BuildpathVariableInitializer&lt;/code&gt; for a buildpath variable named &quot;FOO&quot;: &lt;pre&gt;
&lt;extension point=&quot;org.eclipse.dltk.core.buildpathVariableInitializer&quot;&gt;
&lt;buildpathVariableInitializer
variable=&quot;FOO&quot;
class=&quot;com.example.CPVInitializer&quot;/&gt;
&lt;/extension&gt;
&lt;/pre&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Copyright (c) 2000, 2004 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at &lt;a
href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>
</schema>