Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 4a0e9cb01919163ee4e2ca66ce48bd8a8aebe040 (plain) (tree)



























































                                                                                                                                 
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>README Source Locators Extension Point</title>
</head>

<body link="#0000FF" vlink="#800080">

<h1 align="center">Source Locators</h1>

<p><b><i>Identifier: </i></b>org.eclipse.debug.core.sourceLocators</p>

<p><b><i>Description: </i></b>This extension point provides a
 mechanism specifying a source locator to be used with a launch
 configuration.</p>

<p><b><i>Configuration Markup:</i></b> </p>

<pre>
<tt>&nbsp;&nbsp; &lt;!ELEMENT sourceLocator</tt>&gt;
<tt>&nbsp;&nbsp; &lt;!ATTLIST sourceLocator</tt> 
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>&gt;
</pre>

<ul>
 <li><code>id</code> specifies a unique identifier for this source locator.</li>
 <li><code>class</code> specifies the fully qualified name of the Java class
   that implements <code>IPersistableSourceLocator</code>.</li>
 <li><code>name</code> a human readable name, describing the type of
   this source locator.</li>
</ul>

<p><b><i>Examples:</i></b> </p>

<p>The following is an example of a source locator extension point: </p>

<pre>
  &lt;extension point="org.eclipse.debug.core.sourceLocators"&gt;
    &lt;sourceLocator 
       id="com.example.ExampleIdentifier"
       class="com.example.ExampleSourceLocator"
       name="Example Source Locator"
    &lt;/sourceLocator&gt;
  &lt;/extension&gt;
</pre>


<p><b><i>API Information: </i></b>Value of the attribute <b>class</b> must be a fully
qualified name of a Java class that implements the interface <b>
org.eclipse.debug.core.model.IPersistableSourceLocator</b>.
</p>

<p><a href="hglegal.htm"><img src="ngibmcpy.gif" alt="Copyright IBM Corp. 2000, 2001. All Rights Reserved."
border="0" width="195" height="12"></a></p>
</body>
</html>

Back to the top