<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="org.eclipse.jdt.core"> | |
<annotation> | |
<appInfo> | |
<meta.schema plugin="org.eclipse.jdt.core" id="classpathVariableInitializer" name="Classpath Variable Initializers"/> | |
</appInfo> | |
<documentation> | |
This extension point allows clients to contribute custom classpath variable initializers, | |
which are used to lazily bind classpath variables. | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<complexType> | |
<sequence> | |
<element ref="classpathVariableInitializer" 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="classpathVariableInitializer"> | |
<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.jdt.core.ClasspathVariableInitializer</code> with a public 0-argument constructor. | |
</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>ClasspathVariableInitializer</code> for a classpath variable named "FOO": <pre> | |
<extension point="org.eclipse.jdt.core.classpathVariableInitializer"> | |
<classpathVariableInitializer | |
variable="FOO" | |
class="com.example.CPVInitializer"/> | |
</extension> | |
</pre> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="apiInfo"/> | |
</appInfo> | |
<documentation> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="implementation"/> | |
</appInfo> | |
<documentation> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="copyright"/> | |
</appInfo> | |
<documentation> | |
Copyright (c) 2000, 2004 IBM Corporation and others.<br> | |
All rights reserved. This program and the accompanying materials are made | |
available under the terms of the Common Public License v1.0 which accompanies | |
this distribution, and is available at <a | |
href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a> | |
</documentation> | |
</annotation> | |
</schema> |