blob: 42a18add9fe48f1853df57d059920c9bb0887509 [file] [log] [blame]
<!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>Refresh Launch Variables</CENTER></H1>
<b><i>Identifier: </i></b>org.eclipse.debug.core.refreshLaunchVariables<p>
<b><i>Since: </i></b>3.0<p>
<b><i>Description: </i></b>This extension point defines a mechanism for defining refresh launch variables. Refresh launch variables are context launch variables that expand to a set of resources. These resources are intended to be refreshed when a launch configuration is executed.<p><b><i>Configuration Markup:</i></b><p>
<p><samp><font color="#800000">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.variable">variable</a>*)&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST extension</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;point&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp; &gt;</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">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.variable">variable</a> EMPTY&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST variable</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expanderClass&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp; &gt;</font></samp>
<ul>
<li><b>name</b> - specifies a unique name for this variable.</li>
<li><b>expanderClass</b> - specifies a Java class which implements <samp>org.eclipse.debug.core.variables.IVariableExpander</samp>, which is used to determine the value of the variable</li>
<li><b>description</b> - specifies the human-readable description of this variable</li>
</ul>
<b><i>Examples: </i></b>The following is a definition of a refresh launch variable that expands to the selected resource:
<pre>
<font color="#000080">&lt;extension point=<font color="#008000">&quot;org.eclipse.debug.core.refreshLaunchVariables&quot;</font>&gt;</font>
<font color="#000080">&lt;variable
name=<font color="#008000">&quot;resource&quot;</font>
expanderClass=<font color="#008000">&quot;com.example.RefreshResourceExpander&quot;</font>
description=<font color="#008000">&quot;The selected resource&quot;</font>&gt;</font>
<font color="#000080">&lt;/variable&gt;</font>
<font color="#000080">&lt;/extension&gt;</font>
</pre><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>