<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<meta name="GENERATOR" content="Mozilla/4.5 [en] (Win98; I) [Netscape]"> | |
<title>Workbench Extension Point - Classpath Variable Initializer</title> | |
</head> | |
<body link="#0000FF" vlink="#800080"> | |
<center> | |
<h1> | |
Classpath Variable Initializer</h1></center> | |
<b><i>Identifier: </i></b>org.eclipse.jdt.core.classpathVariableInitializer | |
<p><b><i>Description: </i></b>This extension point allows a plug-in to | |
register code for programmatically initializing a particular named classpath | |
variable. | |
<p><b><i>Configuration Markup:</i></b> | |
<p><tt> <!ELEMENT classpathVariableInitializer></tt> | |
<br><tt> <!ATTLIST classpathVariableInitializer</tt> | |
<br><tt> variable CDATA #REQUIRED</tt> | |
<br><tt> class | |
CDATA #REQUIRED</tt> | |
<br><tt> ></tt> | |
<ul> | |
<li> | |
<b>variable</b> - the name of the classpath variable</li> | |
<li> | |
<b>class</b> - the class that implements this classpath variable initializer. | |
The class must implement a public subclass of <tt>org.eclipse.jdt.core.ClasspathVariableInitializer</tt> | |
with a public 0-argument constructor and an implementation of the <tt>initialize(String)</tt> | |
method.</li> | |
</ul> | |
<b><i>Examples:</i></b> | |
<br>The following is an example of an IClasspathVariableInitializer for | |
a classpath variable named "FOO": | |
<p><tt><extension</tt> | |
<br><tt> point="org.eclipse.jdt.core.classpathVariableInitializer"></tt> | |
<br><tt> <classpathVariableInitializer</tt> | |
<br><tt> variable="FOO"</tt> | |
<br><tt> class="com.example.CPVInitializer"/></tt> | |
<br><tt></extension></tt> | |
<p><b><i>Supplied Implementation:</i></b> | |
<br>None. | |
<br> | |
</body> | |
</html> |