| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <STYLE type="text/css"> |
| div.dtd-fragment { |
| width: 100%; |
| border: none; |
| background-color: #eee; |
| } |
| </STYLE> |
| </HEAD> |
| <HTML> |
| <BODY> |
| <H1><CENTER>Java Runtime Classpath Providers</CENTER></H1> |
| <b><i>Identifier: </i></b>org.eclipse.jdt.launching.classpathProviders<p> |
| <b><i>Since: </i></b>2.1<p> |
| <b><i>Description: </i></b>This extension point allows clients to dynamically compute and resolve classpaths and source lookup paths for Java launch configurations. A Java launch configuration is can be associated with a custom classpath provider via the launch configuration attriubte ATTR_CLASSPATH_PROVIDER and a custom source path provider via the attribute ATTR_SOURCE_PATH_PROVIDER. When specified, the launch configuration attribues correspond to the id of a classpath provider extension.<p><b><i>Configuration Markup:</i></b><p> |
| <p><samp><font color="#800000"> <!ELEMENT <a name="e.extension">extension</a> (<a href="#e.classpathProvider">classpathProvider</a>*)></font></samp> |
| <br><br><samp><font color="#800000"> <!ATTLIST extension</samp> |
| <br><samp> point CDATA #REQUIRED</samp> |
| <br><samp> id CDATA #IMPLIED</samp> |
| <br><samp> name CDATA #IMPLIED</samp> |
| <br><samp> ></font></samp> |
| <ul> |
| <li><b>point</b> - a fully qualified identifier of the target extension point</li> |
| <li><b>id</b> - an optional identifier of the extension instance</li> |
| <li><b>name</b> - an optional name of the extension instance</li> |
| </ul> |
| <p><samp><font color="#800000"> <!ELEMENT <a name="e.classpathProvider">classpathProvider</a> EMPTY></font></samp> |
| <br><br><samp><font color="#800000"> <!ATTLIST classpathProvider</samp> |
| <br><samp> id CDATA #REQUIRED</samp> |
| <br><samp> class CDATA #REQUIRED</samp> |
| <br><samp> ></font></samp> |
| <ul> |
| <li><b>id</b> - a unique identifier that can be used to reference this classpath provider</li> |
| <li><b>class</b> - the class that implements this classpath provider. The class must implement IRuntimeClasspathProvider</li> |
| </ul> |
| <b><i>Examples: </i></b>The following is an example of a classpath provider: |
| |
| <p> |
| <pre> |
| <font color="#000080"><extension point=<font color="#008000">"org.eclipse.jdt.launching.classpathProviders"</font>></font> |
| <font color="#000080"><classpathProvider |
| class=<font color="#008000">"com.example.ProviderImplementation"</font> |
| id=<font color="#008000">"com.example.ProviderId"</font>></font> |
| <font color="#000080"></classpathProvider></font> |
| <font color="#000080"></extension></font> |
| </pre> |
| </p><p> |
| <b><i>Supplied Implementation: </i></b>A default implementation is provided for all launch configurations that do not specify a custom classpath provider.<p> |
| <font size="-1" color="#336699"> |
| <p> |
| <a href="hglegal.htm"> |
| <img SRC="ngibmcpy.gif" |
| ALT="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." |
| BORDER=0 height=14 width=324></a> |
| </p><p> |
| </font> |
| </BODY> |
| </HTML> |